some cleaning
This commit is contained in:
parent
f7d3c973c2
commit
da88171569
|
@ -1,20 +0,0 @@
|
|||
# django.wsgi
|
||||
import os
|
||||
from os.path import join, abspath, dirname
|
||||
import sys
|
||||
import django.core.handlers.wsgi
|
||||
|
||||
|
||||
project_path = join(abspath(dirname(__file__)), '..')
|
||||
|
||||
sys.path.append(join(project_path, '..'))
|
||||
sys.path.append(project_path)
|
||||
|
||||
#reload if this django.wsgi gets touched
|
||||
import monitor
|
||||
monitor.start(interval=1.0)
|
||||
monitor.track(abspath(dirname(__file__)))
|
||||
|
||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'theatre.settings'
|
||||
application = django.core.handlers.wsgi.WSGIHandler()
|
||||
|
Loading…
Reference in New Issue
Block a user