app/django/contrib/auth/create_superuser.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Thu, 24 Sep 2009 21:15:45 +0200 (2009-09-24)
changeset 2972 1e1b8f22e153
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Style fixes in seed_db module.
"""
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")