comparison 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
comparison
equal deleted inserted replaced
103:ee491a3f486d 104:f00199f1524c
1 import os 1 import os
2 import site
2 import sys 3 import sys
3 4
4 OFFLINE = False 5 OFFLINE = False
6
7 site.addsitedir('/svr/django-sites/bns/lib/python2.7/site-packages')
5 8
6 here = os.path.dirname(__file__) 9 here = os.path.dirname(__file__)
7 website = os.path.dirname(here) 10 website = os.path.dirname(here)
8 repo = os.path.dirname(website) 11 repo = os.path.dirname(website)
9 project = os.path.dirname(repo) 12 project = os.path.dirname(repo)