aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2018-02-11 09:17:39 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2018-02-11 09:17:39 +0800
commit9a53680560a97d4ab47af9ef1afca736160008ea (patch)
tree4146debd2b85106392b603f318144a97fd801574
parent097d672bd9ef0fd1fea587256fa58c3788e8bf68 (diff)
Fix Django Invalid HTTP_HOST header problem
Change-Id: I643799fa5498af22f99c6c89f84a70b2d5ec517f Issue-ID: VFC-756 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r--catalog/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog/settings.py b/catalog/settings.py
index 07132361..913f308c 100644
--- a/catalog/settings.py
+++ b/catalog/settings.py
@@ -33,7 +33,7 @@ SECRET_KEY = '3o-wney!99y)^h3v)0$j16l9=fdjxcb+a8g+q3tfbahcnu2b0o'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
-ALLOWED_HOSTS = []
+ALLOWED_HOSTS = ['*']
# Application definition