Permalink
Browse files

Merge branch 'master' of github.com:mozilla/tuxedo

  • Loading branch information...
2 parents 0effd80 + b59eb4a commit dec52d26ebe775adbbb4ae6c2fc8f9d3c222aa54 @brandonsavage brandonsavage committed Sep 21, 2012
Showing with 12 additions and 1 deletion.
  1. +1 −1 vendor
  2. +11 −0 wsgi/tuxedo.wsgi
2 vendor
@@ -1 +1 @@
-Subproject commit 2184598989ba063a131cad4b30f3710f75a5025a
+Subproject commit ff1cfab10452cbfd28c13303aa58af43d88f730c
View
11 wsgi/tuxedo.wsgi
@@ -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

0 comments on commit dec52d2

Please sign in to comment.