app/django/contrib/auth/create_superuser.py
author Daniel Hans <Daniel.M.Hans@gmail.com>
Fri, 30 Oct 2009 01:23:37 +0100
changeset 3067 371e1979ee6a
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
checkIsHostForProgram function takes a new 'logic' argument. It determines which logic should be used to look up for program entity. If the argument is not given, the standard program_logic will be used.

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