app/django/contrib/auth/create_superuser.py
author Tim Ansell <mithro@gmail.com>
Sat, 25 Oct 2008 22:28:31 +0000
changeset 417 a88affc13f98
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Do not include attributes which are inherited. Also some extra comments. Review URL: http://codereviews.googleopensourceprograms.com/1603

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