2015-03-03 18:40:18 +00:00
|
|
|
# wsgicustom.py
|
|
|
|
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
2016-12-03 03:17:42 +00:00
|
|
|
root_dir = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
sys.path.insert(0, root_dir)
|
2015-03-03 18:40:18 +00:00
|
|
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'conservancy.settings'
|
|
|
|
|
|
|
|
from django.core.wsgi import get_wsgi_application
|
|
|
|
application = get_wsgi_application()
|