diff options
Diffstat (limited to 'webapp/django/contrib/auth/create_superuser.py')
-rw-r--r-- | webapp/django/contrib/auth/create_superuser.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webapp/django/contrib/auth/create_superuser.py b/webapp/django/contrib/auth/create_superuser.py new file mode 100644 index 0000000000..7b58678b78 --- /dev/null +++ b/webapp/django/contrib/auth/create_superuser.py @@ -0,0 +1,8 @@ +""" +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") |