app/django/contrib/auth/create_superuser.py
author James Levy <jamesalexanderlevy@gmail.com>
Mon, 25 May 2009 02:23:42 +0200
changeset 2340 f835e39b4dbc
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Add an EditForm id to the edit form

"""
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")