From cf7284aaf173916ed1ec796ddb834c496bae2f1d Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 26 Jul 2018 13:44:30 +0200 Subject: [PATCH] settings: HIDE_IN_STACKTRACES: more finegrained hiding of django Hiding all of Django in stacktraces is too much and not necessary usually. I do not remember the details, but had this in a local patch since a while already. --- debug_toolbar/settings.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/debug_toolbar/settings.py b/debug_toolbar/settings.py index c5e213101..5322abf02 100644 --- a/debug_toolbar/settings.py +++ b/debug_toolbar/settings.py @@ -31,7 +31,12 @@ 'threading', 'wsgiref', 'debug_toolbar', - 'django', + 'django.db', + 'django.core.handlers', + 'django.core.servers', + 'django.utils.decorators', + 'django.utils.deprecation', + 'django.utils.functional', ), 'PROFILER_MAX_DEPTH': 10, 'SHOW_TEMPLATE_CONTEXT': True,