mirror of
https://github.com/django/django.git
synced 2025-10-28 16:16:12 +00:00
[1.7.x] Fixed #22770 -- Removed create_superuser from post_migrate signals.
Moved logic to syncdb command for backwards compatibility.
Backport of 93d05536fd from master
This commit is contained in:
@@ -66,9 +66,7 @@ interactively <auth-admin>`.
|
||||
Creating superusers
|
||||
-------------------
|
||||
|
||||
:djadmin:`manage.py migrate <migrate>` prompts you to create a superuser the
|
||||
first time you run it with ``'django.contrib.auth'`` installed. If you need to
|
||||
create a superuser at a later date, you can use a command line utility::
|
||||
Create superusers using the :djadmin:`createsuperuser` command::
|
||||
|
||||
$ python manage.py createsuperuser --username=joe --email=joe@example.com
|
||||
|
||||
|
||||
Reference in New Issue
Block a user