aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()