Updating wsgi file for deployment

This commit is contained in:
2014-03-03 13:01:40 +10:00
parent 5368a6ceac
commit 096e31d713
2 changed files with 25 additions and 50 deletions

View File

@@ -2,6 +2,6 @@ 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"
os.environ["DJANGO_SETTINGS_MODULE"] = "rockviewer.settings"
from django.core.handlers.wsgi import WSGIHandler
application = WSGIHandler()