mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 16:51:02 +00:00
Update cheatsheets
This commit is contained in:
25
django-admin
Normal file
25
django-admin
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
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}}`
|
||||
Reference in New Issue
Block a user