Opened 7 months ago
Closed 7 months ago
#36356 closed Bug (invalid)
management command examples incorrectly use django-admin instead of manage.py
| Reported by: | karukera | Owned by: | |
|---|---|---|---|
| Component: | Documentation | Version: | 5.2 |
| Severity: | Normal | Keywords: | |
| Cc: | karukera, Jan Tumpa | Triage Stage: | Unreviewed |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
in this page
https://docs.djangoproject.com/fr/5.1/ref/django-admin/#:~:text=createsuperuser
The syntax to create a superuser is :
django-admin createsuperuser instead of
manage.py createsuperuser.
HTH.
Change History (2)
comment:1 by , 7 months ago
| Cc: | added |
|---|
comment:2 by , 7 months ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
| Summary: | Error in the documentation → management command examples incorrectly use django-admin instead of manage.py |
| Type: | Uncategorized → Bug |
Note:
See TracTickets
for help on using tickets.
At the top of the page it says, "The command-line examples throughout this document use django-admin to be consistent, but any example can use manage.py or python -m django just as well."