mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
django-admin: add page (#4066)
Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com> Co-authored-by: Lucas Gabriel Schneider <casdpa@gmail.com>
This commit is contained in:
parent
c19f05bf25
commit
0209f9021c
20
pages/common/django-admin.md
Normal file
20
pages/common/django-admin.md
Normal file
@ -0,0 +1,20 @@
|
||||
# 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}}`
|
Loading…
Reference in New Issue
Block a user