Files
rockviewer/rockviewer.wsgi
2013-09-28 13:57:59 +10:00

7 lines
284 B
Python

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"] = "three_d_viewer.settings"
from django.core.handlers.wsgi import WSGIHandler
application = WSGIHandler()