website/www/wsgicustom.wsgi

12 lines
272 B
Text
Raw Normal View History

2015-03-03 18:40:18 +00:00
# wsgicustom.py
import os
import sys
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()