From 1415c8cb3dee5cf094be6f4cdd005d3dd455cafd Mon Sep 17 00:00:00 2001 From: Charles Shin Date: Mon, 24 Sep 2018 14:29:18 -0700 Subject: [PATCH] DIV-000: Fixing wsgi error. --- wsgi.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wsgi.py b/wsgi.py index ea1040ac..1e27216d 100644 --- a/wsgi.py +++ b/wsgi.py @@ -11,7 +11,9 @@ import os import platform from django.core.wsgi import get_wsgi_application from django.core.management import execute_from_command_line - + + +is_local = False # check if the app is running on OpenShift if not os.environ.get('OPENSHIFT_BUILD_NAMESPACE', False): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "edivorce.settings.local")