web/lib/django/contrib/auth/create_superuser.py
changeset 38 77b6da96e6f1
parent 0 0d40e90630ef
equal deleted inserted replaced
37:8d941af65caf 38:77b6da96e6f1
       
     1 """
       
     2 Create a superuser from the command line. Deprecated; use manage.py
       
     3 createsuperuser instead.
       
     4 """
       
     5 
       
     6 if __name__ == "__main__":
       
     7     from django.core.management import call_command
       
     8     call_command("createsuperuser")