commit: f3fd93158f4fadf7290c8e2369d88db632d78612
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 9 22:33:32 2020 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Feb 9 23:16:35 2020 +0000
URL: https://gitweb.gentoo.org/proj/euscan.git/commit/?id=f3fd9315
settings: Set ALLOWED_HOSTS default to satisfy DEBUG=False
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
euscanwww/euscanwww/settings.py | 6 ++++++
1 file changed, 6 insertions(+)
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', '[email protected]'),
)