aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'debug_toolbar/settings.py')
-rw-r--r--debug_toolbar/settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/debug_toolbar/settings.py b/debug_toolbar/settings.py
index 022fb8a..bde8a1c 100644
--- a/debug_toolbar/settings.py
+++ b/debug_toolbar/settings.py
@@ -122,3 +122,6 @@ else:
"%r was renamed to %r. Update your DEBUG_TOOLBAR_PANELS "
"setting." % (old_panel, new_panel), DeprecationWarning)
PANELS[index] = new_panel
+
+
+PATCH_SETTINGS = getattr(settings, 'DEBUG_TOOLBAR_PATCH_SETTINGS', settings.DEBUG)