From 1a27726cba5ec977c5b6990b43dea2b3d52f8792 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Fri, 11 Jan 2019 23:20:50 +0300 Subject: [PATCH] add allowed host --- config/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/settings.py b/config/settings.py index 7d11713..91de303 100644 --- a/config/settings.py +++ b/config/settings.py @@ -11,8 +11,8 @@ if os.path.exists(env_file): env.read_env(env_file) SECRET_KEY = '6)mck*tk2eq++!01pr2!7qo7#zf_e(hi_m=-qa4x-ah)lvvt4-' -DEBUG = env.bool('DJANGO_DEBUG', False) -ALLOWED_HOSTS = ['0.0.0.0', '127.0.0.1', 'home.bakatrouble.pw', 'localhost'] +DEBUG = env.bool('DJANGO_DEBUG', True) +ALLOWED_HOSTS = ['0.0.0.0', '127.0.0.1', 'home.bakatrouble.pw', 'localhost', 'bots.bakatrouble.pw'] INSTALLED_APPS = [ 'django.contrib.admin',