summaryrefslogtreecommitdiff
path: root/lib/python2.7/site-packages/django/contrib/auth/create_superuser.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python2.7/site-packages/django/contrib/auth/create_superuser.py')
-rw-r--r--lib/python2.7/site-packages/django/contrib/auth/create_superuser.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/python2.7/site-packages/django/contrib/auth/create_superuser.py b/lib/python2.7/site-packages/django/contrib/auth/create_superuser.py
new file mode 100644
index 0000000..7b58678
--- /dev/null
+++ b/lib/python2.7/site-packages/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")