From 5fd65ef273ff011c156b8a6953b667f8b6b6c249 Mon Sep 17 00:00:00 2001 From: tschilling Date: Sat, 15 Feb 2014 09:07:31 -0500 Subject: Changing set declaration. --- debug_toolbar/settings.py | 2 +- docs/configuration.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debug_toolbar/settings.py b/debug_toolbar/settings.py index 0ea75ab..2c71888 100644 --- a/debug_toolbar/settings.py +++ b/debug_toolbar/settings.py @@ -16,7 +16,7 @@ from django.utils import six CONFIG_DEFAULTS = { # Toolbar options - 'DEFAULT_DISABLED_PANELS': {'debug_toolbar.panels.redirects.RedirectsPanel'}, + 'DEFAULT_DISABLED_PANELS': set(['debug_toolbar.panels.redirects.RedirectsPanel']), 'INSERT_BEFORE': '', 'RENDER_PANELS': None, 'RESULTS_STORE_SIZE': 10, diff --git a/docs/configuration.rst b/docs/configuration.rst index 972d9ac..8ad9087 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -59,7 +59,7 @@ Toolbar options * ``DEFAULT_DISABLED_PANELS`` - Default: ``{'debug_toolbar.panels.redirects.RedirectsPanel'}`` + Default: ``set(['debug_toolbar.panels.redirects.RedirectsPanel'])`` This setting is a set of the full Python paths to each panel that you want disabled (but still displayed) by default. -- cgit v1.2.3