app/django/contrib/auth/create_superuser.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sun, 15 Feb 2009 16:10:59 +0000
changeset 1346 b3bbc6fa18ef
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Keep a global list of all known Roles This is to facilitate a view with a list of a user's roles. Patch by: Sverre Rabbelier

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