app/django/contrib/auth/create_superuser.py
author Augie Fackler <durin42@gmail.com>
Sun, 26 Oct 2008 00:57:33 +0000
changeset 421 11aa742bf1dc
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Remove bogus import from a previous iteration.

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