Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Wsgi update #12

Merged
merged 1 commit into from Sep 20, 2012
Jump to file or symbol
Failed to load files and symbols.
+11 −0
Split
View
@@ -1,5 +1,16 @@
import os
import site
+import sys
+
+current_dir = os.path.abspath(os.path.dirname(__file__))
+
+ALLDIRS = []
+
+ALLDIRS.append(os.path.abspath('%s/../vendor/lib/python' % current_dir))
+ALLDIRS.append(os.path.abspath('%s/../vendor/src' % current_dir))
+
+for item in ALLDIRS:
+ sys.path.append(item)
import django.core.handlers.wsgi