mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 22:41:36 +00:00
26 lines
535 B
Plaintext
26 lines
535 B
Plaintext
---
|
||
syntax: markdown
|
||
tags: [tldr, common]
|
||
source: https://github.com/tldr-pages/tldr.git
|
||
---
|
||
# 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}}`
|