summaryrefslogtreecommitdiff
path: root/VPN_CGI/wsgi.py
diff options
context:
space:
mode:
author陈冠林 <[email protected]>2018-12-07 17:03:23 +0800
committer陈冠林 <[email protected]>2018-12-07 17:03:23 +0800
commita30d5b84fe5a64a159f8d77761a21863bdf365b5 (patch)
tree45226cc9f2e506e77390d443e5300b261ec42a92 /VPN_CGI/wsgi.py
parenta1f6a969cf4a964e1fda68bfc7ef8200e7cfdf86 (diff)
修改文件夹名字
Diffstat (limited to 'VPN_CGI/wsgi.py')
-rw-r--r--VPN_CGI/wsgi.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/VPN_CGI/wsgi.py b/VPN_CGI/wsgi.py
new file mode 100644
index 0000000..ada8d65
--- /dev/null
+++ b/VPN_CGI/wsgi.py
@@ -0,0 +1,16 @@
+"""
+WSGI config for VPN_CGI project.
+
+It exposes the WSGI callable as a module-level variable named ``application``.
+
+For more information on this file, see
+https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/
+"""
+
+import os
+
+from django.core.wsgi import get_wsgi_application
+
+os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'VPN_CGI.settings')
+
+application = get_wsgi_application()