app/django/contrib/auth/create_superuser.py
author Lennard de Rijk <ljvderijk@gmail.com>
Mon, 25 May 2009 01:56:09 +0200
changeset 2337 c05443664e3b
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Added __init__.py to ghop folder.

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