move env up one
This commit is contained in:
parent
965be420c5
commit
942a892d46
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ project_module = 'oxdata'
|
||||||
root_dir = os.path.normpath(os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..')))
|
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
|
# 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
|
# add this django project
|
||||||
sys.path.append(root_dir)
|
sys.path.append(root_dir)
|
||||||
|
|
Loading…
Reference in a new issue