app/django/contrib/auth/create_superuser.py
author Sverre Rabbelier <srabbelier@gmail.com>
Fri, 23 Jan 2009 22:57:10 +0000
changeset 939 b341698bf3b1
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Make reference picker work for create too Caveat, it only works for one reference atm. 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")