Browse Source

DIV-000: Fixing wsgi error.

pull/160/head
Charles Shin 7 years ago
parent
commit
1415c8cb3d
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      wsgi.py

+ 3
- 1
wsgi.py View File

@ -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")


Loading…
Cancel
Save