summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-11-05 22:34:00 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-11-05 22:34:00 +0100
commit5044800d1fca5650198e88ccc1ee6a97954c1748 (patch)
treecc5cfa8a0db926aff42f851e37fea2952be90357 /example_project
parent70ce70650144e92b200c62d1e334c8636add9f62 (diff)
downloadIshtar-5044800d1fca5650198e88ccc1ee6a97954c1748.tar.bz2
Ishtar-5044800d1fca5650198e88ccc1ee6a97954c1748.zip
Settings: specific handler for DisallowHost
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index a76134746..89df18c2a 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -211,6 +211,10 @@ LOGGING = {
'level': 'INFO',
'propagate': False,
},
+ 'django.security.DisallowedHost': {
+ 'handlers': ['logfile'],
+ 'propagate': False,
+ },
'ishtar_pdl': default_handler,
'ishtar_common': default_handler,
'archaeological_files_pdl': default_handler,