diff options
author | Sebastian Pipping <sping@gentoo.org> | 2020-02-09 23:33:32 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2020-02-10 00:16:35 +0100 |
commit | f3fd93158f4fadf7290c8e2369d88db632d78612 (patch) | |
tree | 4882e36a94410896ffb85a72981a749e44ad58ce | |
parent | Stop using django.conf.urls.defaults for Django >=1.6 (diff) | |
download | euscan-f3fd93158f4fadf7290c8e2369d88db632d78612.tar.gz euscan-f3fd93158f4fadf7290c8e2369d88db632d78612.tar.bz2 euscan-f3fd93158f4fadf7290c8e2369d88db632d78612.zip |
settings: Set ALLOWED_HOSTS default to satisfy DEBUG=False
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
-rw-r--r-- | euscanwww/euscanwww/settings.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/euscanwww/euscanwww/settings.py b/euscanwww/euscanwww/settings.py index d9879ff..4ee020b 100644 --- a/euscanwww/euscanwww/settings.py +++ b/euscanwww/euscanwww/settings.py @@ -5,6 +5,12 @@ import os.path DEBUG = False TEMPLATE_DEBUG = DEBUG +ALLOWED_HOSTS = [ + '0.0.0.0', + '127.0.0.1', + '172.0.0.0/8', # Docker internal +] + ADMINS = ( ('admin', 'admin@example.com'), ) |