From c3dd549d0001151333d1daf82a358b64a46fad29 Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Mon, 28 Apr 2014 23:52:38 +0800 Subject: * updated settings with 'ALLOWED_HOSTS' * updated MEDIA_ROOT and STATIC_ROOT of settings_production.py --- django_skaschool/settings.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'django_skaschool/settings.py') 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 = [] -- cgit v1.2.2