Code

Opened 4 years ago

Closed 4 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: UI/UX:

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.

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

manage.py and django-admin.py are exactly the same command, except that manage.py implies a specific --settings=path.to.settings argument. You can use django-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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.