Opened 9 years ago

Closed 9 years ago

Last modified 9 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

Change History (2)

comment:1 Changed 9 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 9 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

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