cabot/wsgi.py

9 lines
252 B
Python
Raw Normal View History

2014-01-05 17:24:04 +00:00
import os
import sys
2014-01-28 00:53:34 +00:00
sys.path.insert(
0, os.path.abspath(os.path.join(os.path.dirname(__file__), 'app')))
2014-01-05 17:24:04 +00:00
os.environ['DJANGO_SETTINGS_MODULE'] = 'app.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()