summaryrefslogtreecommitdiff
path: root/example_project/settings.py
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
commit337e90197a63b436e30945c0b459daa3d05a08d4 (patch)
treecc5cfa8a0db926aff42f851e37fea2952be90357 /example_project/settings.py
parent2c7d9fbafd6d07bedb164341e36fb4e43d490c2e (diff)
downloadIshtar-337e90197a63b436e30945c0b459daa3d05a08d4.tar.bz2
Ishtar-337e90197a63b436e30945c0b459daa3d05a08d4.zip
Settings: specific handler for DisallowHost
Diffstat (limited to 'example_project/settings.py')
-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,