summaryrefslogtreecommitdiff
path: root/lib/python2.7/site-packages/django/contrib/auth/create_superuser.py
diff options
context:
space:
mode:
authorttt2017-05-13 00:29:47 +0530
committerttt2017-05-13 00:29:47 +0530
commitabf599be33b383a6a5baf9493093b2126a622ac8 (patch)
tree4c5ab6e0d935d5e65fabcf0258e4a00dd20a5afa /lib/python2.7/site-packages/django/contrib/auth/create_superuser.py
downloadSBHS-2018-Rpi-abf599be33b383a6a5baf9493093b2126a622ac8.tar.gz
SBHS-2018-Rpi-abf599be33b383a6a5baf9493093b2126a622ac8.tar.bz2
SBHS-2018-Rpi-abf599be33b383a6a5baf9493093b2126a622ac8.zip
added all server files
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")