app/django/contrib/auth/create_superuser.py
author Lennard de Rijk <ljvderijk@gmail.com>
Wed, 26 Aug 2009 18:23:58 +0200
changeset 2809 ecc4e534edd3
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Make Sponsor the scope_logic for the GSoC timeline model. This will prevent errors when for instance generating URL's that are relying on the scope of this timeline.

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