Opened 5 months ago

Closed 5 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 Jan Tumpa, 5 months ago

Cc: Jan Tumpa added

comment:2 by Tim Graham, 5 months ago

Resolution: invalid
Status: newclosed
Summary: Error in the documentationmanagement command examples incorrectly use django-admin instead of manage.py
Type: UncategorizedBug

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."

Note: See TracTickets for help on using tickets.
Back to Top