diff bns_website/apache/bns.wsgi @ 104:f00199f1524c

Changes for running in a virtualenv on the new server jaguar.
author Brian Neal <bgneal@gmail.com>
date Tue, 09 Apr 2013 21:29:30 -0500
parents a5e8741452a3
children
line wrap: on
line diff
--- a/bns_website/apache/bns.wsgi	Sat Mar 09 18:03:07 2013 -0600
+++ b/bns_website/apache/bns.wsgi	Tue Apr 09 21:29:30 2013 -0500
@@ -1,8 +1,11 @@
 import os
+import site
 import sys
 
 OFFLINE = False
 
+site.addsitedir('/svr/django-sites/bns/lib/python2.7/site-packages')
+
 here = os.path.dirname(__file__)
 website = os.path.dirname(here)
 repo = os.path.dirname(website)