wsgi config

This commit is contained in:
Sanj 2011-03-06 18:45:25 +05:30
parent 97617a3481
commit 3ea9a10121

View File

@ -12,7 +12,8 @@ activate_this = os.path.join(root_dir, 'bin', 'activate_this.py')
execfile(activate_this, dict(__file__=activate_this)) execfile(activate_this, dict(__file__=activate_this))
sys.path.append(root_dir) sys.path.append(root_dir)
sys.path.append(os.path.join(root_dir, project_module)) # sys.path.append(os.path.join(root_dir, project_module))
sys.path.insert(0, os.path.join(root_dir, project_module))
#reload if this django.wsgi gets touched #reload if this django.wsgi gets touched
from oxdjango import monitor from oxdjango import monitor