cabot/wsgi.py

8 lines
246 B
Python
Raw Normal View History

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