app/django/contrib/auth/create_superuser.py
author Lennard de Rijk <ljvderijk@gmail.com>
Wed, 25 Mar 2009 08:46:28 +0000
changeset 2005 c55051b20017
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Removed leftover URL in duplicate-slots.js No code change, so no copy/rename. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed

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