wsgi file

This commit is contained in:
sanj 2010-05-06 05:11:36 +05:30
parent daf0d6b3fb
commit 7207bf8773

View File

@ -17,7 +17,7 @@ sys.path.append(os.path.join(root_dir, project_module))
#reload if this django.wsgi gets touched
from oxdjango import monitor
monitor.start(interval=1.0)
sys.stdout = sys.stderr
monitor.track(os.path.abspath(os.path.dirname(__file__)))
os.environ['DJANGO_SETTINGS_MODULE'] = project_module + '.settings'