rockviewer/rockviewer.wsgi

7 lines
291 B
Text
Raw Permalink Normal View History

2013-09-28 13:57:59 +10:00
import os
import sys
# put the Django project on sys.path
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "../")))
os.environ["DJANGO_SETTINGS_MODULE"] = "rockviewer.settings.production"
2013-09-28 13:57:59 +10:00
from django.core.handlers.wsgi import WSGIHandler
application = WSGIHandler()