From a2b75fd0ae62b484c3a7cc1205a1425a91b43533 Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Tue, 29 Apr 2014 13:29:38 +0800 Subject: modified 'wsgi.py': set DJANGO_SETTINGS_MODULE to settings_production --- django_skaschool/wsgi.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() -- cgit v1.2.2