aboutsummaryrefslogtreecommitdiffstats
path: root/django_skaschool/settings.py
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-28 23:52:38 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-28 23:52:38 +0800
commitc3dd549d0001151333d1daf82a358b64a46fad29 (patch)
tree1264438be2fed65e262b553b1c44dd7fedc37dab /django_skaschool/settings.py
parent204c5922ba5492bc69d5443388c30f7633fe03e2 (diff)
downloaddjango-skaschool-c3dd549d0001151333d1daf82a358b64a46fad29.tar.bz2
* updated settings with 'ALLOWED_HOSTS'
* updated MEDIA_ROOT and STATIC_ROOT of settings_production.py
Diffstat (limited to 'django_skaschool/settings.py')
-rw-r--r--django_skaschool/settings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/django_skaschool/settings.py b/django_skaschool/settings.py
index 7a20a0f..9b4c779 100644
--- a/django_skaschool/settings.py
+++ b/django_skaschool/settings.py
@@ -25,6 +25,8 @@ DEBUG = True
TEMPLATE_DEBUG = True
+# ALLOWED_HOSTS is required when deploying with DEBUG=False,
+# otherwise server will throw 400 bad request errors.
ALLOWED_HOSTS = []