web/lib/django/contrib/auth/create_superuser.py
author ymh <ymh.work@gmail.com>
Tue, 25 May 2010 19:06:11 +0200
changeset 31 a727d83c8f88
parent 0 0d40e90630ef
permissions -rw-r--r--
add create_python_env file

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