django1/django/contrib/auth/create_superuser.py

9 lines
217 B
Python
Raw Normal View History

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