summaryrefslogtreecommitdiffstats
path: root/cnprog.wsgi
diff options
context:
space:
mode:
Diffstat (limited to 'cnprog.wsgi')
-rw-r--r--cnprog.wsgi8
1 files changed, 8 insertions, 0 deletions
diff --git a/cnprog.wsgi b/cnprog.wsgi
new file mode 100644
index 00000000..a1bd8039
--- /dev/null
+++ b/cnprog.wsgi
@@ -0,0 +1,8 @@
+import os
+import sys
+
+sys.path.append('/var/www/vhosts')
+os.environ['DJANGO_SETTINGS_MODULE'] = 'cnprog.settings'
+
+import django.core.handlers.wsgi
+application = django.core.handlers.wsgi.WSGIHandler()