From c0e54c74c995e531960d17c58a4ea8d82c884664 Mon Sep 17 00:00:00 2001 From: MaM Web user Date: Tue, 7 Sep 2021 19:26:48 +0200 Subject: [PATCH] =?UTF-8?q?Takhle=20je=20to=20spr=C3=A1vn=C4=9B,=20i=20kdy?= =?UTF-8?q?=C5=BE=20to=20nefunguje?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mamweb/settings_common.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mamweb/settings_common.py b/mamweb/settings_common.py index 793c8d66..0e50b262 100644 --- a/mamweb/settings_common.py +++ b/mamweb/settings_common.py @@ -255,6 +255,12 @@ LOGGING = { 'django': { 'handlers': ['console'], 'level': 'DEBUG', + 'filters': ['StripSensitiveFormData'], + }, + 'django.security.csrf': { + 'handlers': ['console'], + 'level': 'DEBUG', + 'filters': ['StripSensitiveFormData'], }, 'django.request': { 'handlers': ['console'],