app/django/contrib/auth/create_superuser.py
author Lennard de Rijk <ljvderijk@gmail.com>
Tue, 04 Aug 2009 16:57:27 +0200
changeset 2726 0d9e4b0a9d3c
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Added redirect for viewing SurveyRecords and enabled links in the Record list. Patch by: Lennard de Rijk and James Levy

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