Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1726 closed defect (fixed)

createsuperuser really missing in mr

Reported by: anonymous Owned by: adrian
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


after problems (see #1725) i issued sqlreset on all django apps. after that i did a syncdb and #1725 was gone. but my superuser was gone also. and syncdb did not ask me to create a new one.

i don't like this asking for parameters from console anyway which fails running commands in scripts and would really like to get this createsuperuser back... :D

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by Dagur

Until then you just do this:

>>> from django.contrib.auth.create_superuser import createsuperuser
>>> createsuperuser('someone','','somepassword')
Superuser created successfully.

comment:2 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [2841]) Fixed #1726 -- Made django/contrib/auth/ a command-line function, and added docs

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.