app/django/contrib/auth/create_superuser.py
author Todd Larsen <tlarsen@google.com>
Tue, 18 Nov 2008 03:28:47 +0000
changeset 503 65e4d3ed3fc3
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Derive Linkable Model class from PolyModel. Patch by: Todd Larsen

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