app/django/contrib/auth/create_superuser.py
author Sverre Rabbelier <srabbelier@gmail.com>
Fri, 28 Nov 2008 22:49:26 +0000
changeset 603 8ce6268a37bc
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Make Sponsor use the new DynaForm module Currently only a slight reduction in code, but hopefully some (or all?) of the form's definition can move up into base.View. Patch by: Sverre Rabbelier

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