Permalink
Browse files

Merge pull request #12 from brandonsavage/master

Wsgi update
  • Loading branch information...
2 parents 69a8aa1 + e9618d5 commit 8711277b59067110a741ee5ce380e62868467b7b @brandonsavage brandonsavage committed Sep 20, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 wsgi/tuxedo.wsgi
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

0 comments on commit 8711277

Please sign in to comment.