aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-24 11:38:43 +0100
committerAymeric Augustin2013-11-24 11:40:39 +0100
commit03fd1cc81c02a5462aeb4dbce0bfe8a2afdef43d (patch)
treefdaa6e529ec07cd49b605269b8c98b4d6ed5568f /tests
parent66e03a53b73b4ab01edd8c430227cb28d0d8fd51 (diff)
downloaddjango-debug-toolbar-03fd1cc81c02a5462aeb4dbce0bfe8a2afdef43d.tar.bz2
Remove HIDE_DJANGO_SQL configuration option.
It was badly named and HIDE_IN_STACKTRACES provides a more general solution. The ability to show code in django.contrib but not in django doesn't seem particularly useful. Fix #474.
Diffstat (limited to 'tests')
-rw-r--r--tests/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
index f41162b..0681f90 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -15,6 +15,7 @@ def update_toolbar_config(**kwargs):
dt_settings.CONFIG.update(kwargs['value'] or {})
# This doesn't account for deprecated configuration options.
+
@receiver(setting_changed)
def update_toolbar_panels(**kwargs):
if kwargs['setting'] == 'DEBUG_TOOLBAR_PANELS':