From dbf89ad7f9a6b237f0138fd2d4052479c94b5428 Mon Sep 17 00:00:00 2001 From: Tom Price Date: Fri, 24 Apr 2015 16:59:50 +0100 Subject: [PATCH] Readd settings line --- PyRIGS/wsgi.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PyRIGS/wsgi.py b/PyRIGS/wsgi.py index 7fa79ab0..482f3921 100644 --- a/PyRIGS/wsgi.py +++ b/PyRIGS/wsgi.py @@ -6,6 +6,10 @@ It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ """ +import os +Add a comment to this line +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "PyRIGS.settings") + from django.core.wsgi import get_wsgi_application from dj_static import Cling