app/django/contrib/auth/create_superuser.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Sat, 15 Nov 2008 21:46:23 +0000
changeset 483 70f21691b0e1
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Fix broken User link_name validations. Changes in r1014 still caused some problems so I came out with new idea to compare User accounts (previously called "id"). Patch by: Pawel Solyga

"""
Create a superuser from the command line. Deprecated; use manage.py
createsuperuser instead.
"""

if __name__ == "__main__":
    from django.core.management import call_command
    call_command("createsuperuser")