2020-05-27 16:04:37 +01:00
|
|
|
|
# django-admin
|
|
|
|
|
|
|
|
|
|
> Django’s utility for administrative tasks.
|
2023-11-22 20:03:25 +00:00
|
|
|
|
> More information: <https://docs.djangoproject.com/en/4.2/ref/django-admin/>.
|
2020-05-27 16:04:37 +01:00
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
|
- Create a new Django project:
|
2020-05-27 16:04:37 +01:00
|
|
|
|
|
|
|
|
|
`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}}`
|