app/django/contrib/auth/create_superuser.py
author Lennard de Rijk <ljvderijk@gmail.com>
Mon, 29 Jun 2009 23:40:24 +0200
changeset 2453 9b8f3240e3bf
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Set the correct base_model and scope_logic for extended Survey logic.

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