summaryrefslogtreecommitdiffstats
path: root/cnprog.wsgi
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-07-10 19:11:10 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-07-10 19:11:10 -0400
commit1ec02bd63bc9367637832f23cd011b660b68dc86 (patch)
treecd4f7417cdbabc6834aeb45f73f09208a738ac2d /cnprog.wsgi
parent4d16497d949208d290e9b0f0f540cf41386cf896 (diff)
downloadaskbot-1ec02bd63bc9367637832f23cd011b660b68dc86.tar.gz
askbot-1ec02bd63bc9367637832f23cd011b660b68dc86.tar.bz2
askbot-1ec02bd63bc9367637832f23cd011b660b68dc86.zip
english translation
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()