mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +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:
@@ -1420,9 +1420,8 @@ This command is only available if Django's :doc:`authentication system
|
||||
</topics/auth/index>` (``django.contrib.auth``) is installed.
|
||||
|
||||
Creates a superuser account (a user who has all permissions). This is
|
||||
useful if you need to create an initial superuser account but did not
|
||||
do so during the first :djadmin:`migrate`, or if you need to programmatically
|
||||
generate superuser accounts for your site(s).
|
||||
useful if you need to create an initial superuser account or if you need to
|
||||
programmatically generate superuser accounts for your site(s).
|
||||
|
||||
When run interactively, this command will prompt for a password for
|
||||
the new superuser account. When run non-interactively, no password
|
||||
|
||||
Reference in New Issue
Block a user