linux操作系统 django-admin命令手册

django-admin

Django’s utility for administrative tasks. More information: https://docs.djangoproject.com/en/3.0/ref/django-admin/.

  • Create a new django project:

django-admin startproject {{project_name}}

  • Create a new app for the current project:

django-admin startapp {{app_name}}

  • Check the current version of Django:

django-admin --version

  • Display more information for the given command:

django-admin help {{command}}