wsgi file
This commit is contained in:
parent
daf0d6b3fb
commit
7207bf8773
|
@ -17,7 +17,7 @@ sys.path.append(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
|
||||||
monitor.start(interval=1.0)
|
monitor.start(interval=1.0)
|
||||||
|
sys.stdout = sys.stderr
|
||||||
monitor.track(os.path.abspath(os.path.dirname(__file__)))
|
monitor.track(os.path.abspath(os.path.dirname(__file__)))
|
||||||
|
|
||||||
os.environ['DJANGO_SETTINGS_MODULE'] = project_module + '.settings'
|
os.environ['DJANGO_SETTINGS_MODULE'] = project_module + '.settings'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user