aboutsummaryrefslogtreecommitdiffstats
path: root/django_skaschool
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-29 13:29:38 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-29 13:29:38 +0800
commita2b75fd0ae62b484c3a7cc1205a1425a91b43533 (patch)
tree59d42990c1611d4b002c7861d9ca9951e6b67d04 /django_skaschool
parent4bbb74401354c118ddbc0aebf131a5253ba5f48b (diff)
downloaddjango-skaschool-a2b75fd0ae62b484c3a7cc1205a1425a91b43533.tar.bz2
modified 'wsgi.py': set DJANGO_SETTINGS_MODULE to settings_production
Diffstat (limited to 'django_skaschool')
-rw-r--r--django_skaschool/wsgi.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/django_skaschool/wsgi.py b/django_skaschool/wsgi.py
index e881f1e..bda56d1 100644
--- a/django_skaschool/wsgi.py
+++ b/django_skaschool/wsgi.py
@@ -8,7 +8,10 @@ https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
"""
import os
-os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_skaschool.settings")
+
+#os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_skaschool.settings")
+# use settings_production
+os.environ["DJANGO_SETTINGS_MODULE"] = "django_skaschool.settings_production"
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()