mirror of https://github.com/CrimsonTome/tldr.git
21 lines
442 B
Markdown
21 lines
442 B
Markdown
# django-admin
|
||
|
||
> Django’s utility for administrative tasks.
|
||
> More information: <https://docs.djangoproject.com/en/4.2/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 help for a specific command:
|
||
|
||
`django-admin help {{command}}`
|