1
0
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:
Tim Graham
2014-06-10 12:22:07 -04:00
parent d232a5f93f
commit 0767055dfc
6 changed files with 60 additions and 74 deletions

View File

@@ -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