move env up one

This commit is contained in:
j 2009-07-29 13:32:22 +02:00
parent 965be420c5
commit 942a892d46

View file

@ -9,7 +9,7 @@ project_module = 'oxdata'
root_dir = os.path.normpath(os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..')))
# with mod_wsgi >= 2.4, this line will add this path in front of the python path
site.addsitedir(os.path.join(root_dir, project_module, 'env', 'lib', 'python2.5', 'site-packages'))
site.addsitedir(os.path.join(root_dir, project_module, '..', 'env', 'lib', 'python2.5', 'site-packages'))
# add this django project
sys.path.append(root_dir)