app/django/contrib/auth/create_superuser.py
author Lennard de Rijk <ljvderijk@gmail.com>
Mon, 13 Jul 2009 12:52:54 +0200
changeset 2632 973e5e7ebd6e
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Added view for editing GradingRecords. This view shows a list of GradingRecords if the id param is not present in the GET data. Also renamed grading_record to view_records and fixed the redirect for that page to also point to the GradingRecord edit page.

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