website/www/wsgicustom.wsgi

15 lines
346 B
Text
Raw Normal View History

2018-11-02 13:37:55 +00:00
#!/usr/bin/env python
2015-03-03 18:40:18 +00:00
import os
import sys
# Work around <https://bugs.python.org/issue7980>
import _strptime
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()