app/django/contrib/auth/create_superuser.py
author james@jamess-macbook-air.local
Tue, 30 Jun 2009 03:03:46 -0700
changeset 2458 467ec0cf3ece
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
merged upstream

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