Opened 15 years ago
Closed 15 years ago
#13474 closed (wontfix)
documentation: django-admin.py and manage.py: createsuperuser
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.1 |
Severity: | Keywords: | createsuperuser django-admin.py manage.py | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Once a site has been created and syncdb has been run, if the option to create a superuser is initially rejected, it cannot be created by using "django-admin.py createsuperuser". Instead, "manage.py createsuperuser" must be used. This isn't clear from the documentation.
Note:
See TracTickets
for help on using tickets.
manage.py
anddjango-admin.py
are exactly the same command, except that manage.py implies a specific --settings=path.to.settings argument. You can usedjango-admin.py createsuperuser
if you manually specify the--settings=path.to.settings
argument.This relationship is documented right at the start of the docs on django-admin.py. If you think this needs to be clarified somewhere else, please provide a specific description of what needs to be improved.