Fixed settings for production, and removed the entry to the self test module until it is ready

This commit is contained in:
2014-03-03 15:12:31 +10:00
parent 9a32d99c23
commit e453f86c26
3 changed files with 89 additions and 46 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"] = "rockviewer.settings"
os.environ["DJANGO_SETTINGS_MODULE"] = "rockviewer.settings.production"
from django.core.handlers.wsgi import WSGIHandler
application = WSGIHandler()