app/django/contrib/auth/create_superuser.py
author Marcelo de Sena Lacerda <marceloslacerda@gmail.com>
Fri, 08 May 2009 14:55:36 +0200
changeset 2298 c7c331ed9a49
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Add coverage support to the test suite This requires nose 0.11 to run.

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