From 1a5108a23d97f2c6d111afaff433df64c2211955 Mon Sep 17 00:00:00 2001 From: tschilling Date: Fri, 14 Feb 2014 13:56:50 -0500 Subject: Deprecating INTERCEPT_REDIRECTS in favor of DEFAULT_DISABLED_PANELS. --- docs/configuration.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/configuration.rst') diff --git a/docs/configuration.rst b/docs/configuration.rst index 88226cd..4cb94f0 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -57,6 +57,13 @@ toolbar itself, others are specific to some panels. Toolbar options ~~~~~~~~~~~~~~~ +* ``DEFAULT_DISABLED_PANELS`` + + Default: ``('RedirectsPanel', )`` + + A collection of panel class names that are disabled (but still displayed) + by default. + * ``INSERT_BEFORE`` Default: ``''`` -- cgit v1.2.3 From cc08c0d19bd5d1c7ff2281e3c3e4d92fa932e6d5 Mon Sep 17 00:00:00 2001 From: tschilling Date: Sat, 15 Feb 2014 08:59:20 -0500 Subject: Changing the collection to be fully qualified names and for it to be a set not a tuple. --- docs/configuration.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/configuration.rst') diff --git a/docs/configuration.rst b/docs/configuration.rst index 4cb94f0..972d9ac 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -59,10 +59,10 @@ Toolbar options * ``DEFAULT_DISABLED_PANELS`` - Default: ``('RedirectsPanel', )`` + Default: ``{'debug_toolbar.panels.redirects.RedirectsPanel'}`` - A collection of panel class names that are disabled (but still displayed) - by default. + This setting is a set of the full Python paths to each panel that you + want disabled (but still displayed) by default. * ``INSERT_BEFORE`` -- cgit v1.2.3 From 5fd65ef273ff011c156b8a6953b667f8b6b6c249 Mon Sep 17 00:00:00 2001 From: tschilling Date: Sat, 15 Feb 2014 09:07:31 -0500 Subject: Changing set declaration. --- docs/configuration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/configuration.rst') 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