create_superuser.py 217 B

12345678
  1. """
  2. Create a superuser from the command line. Deprecated; use manage.py
  3. createsuperuser instead.
  4. """
  5. if __name__ == "__main__":
  6. from django.core.management import call_command
  7. call_command("createsuperuser")