From a9134faef721f0166f25b0ae717ab96e4c3a4a40 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 9 Mar 2014 21:50:41 +0100 Subject: Document DISABLE_PANELS. --- docs/configuration.rst | 11 +---------- docs/panels.rst | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) (limited to 'docs') diff --git a/docs/configuration.rst b/docs/configuration.rst index 8ad9087..7f7461b 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -57,7 +57,7 @@ toolbar itself, others are specific to some panels. Toolbar options ~~~~~~~~~~~~~~~ -* ``DEFAULT_DISABLED_PANELS`` +* ``DISABLE_PANELS`` Default: ``set(['debug_toolbar.panels.redirects.RedirectsPanel'])`` @@ -149,14 +149,6 @@ Panel options Useful for eliminating server-related entries which can result in enormous DOM structures and toolbar rendering delays. -* ``INTERCEPT_REDIRECTS`` - - Default: ``False`` - - Panel: redirects - - If set to ``True``, the redirect panel will be active by default. - * ``SHOW_TEMPLATE_CONTEXT`` Default: ``True`` @@ -185,6 +177,5 @@ Here's what a slightly customized toolbar configuration might look like:: 'RESULTS_STORE_SIZE': 3, 'SHOW_COLLAPSED': True, # Panel options - 'INTERCEPT_REDIRECTS': True, 'SQL_WARNING_THRESHOLD': 100, # milliseconds } diff --git a/docs/panels.rst b/docs/panels.rst index ed7abbf..58713b4 100644 --- a/docs/panels.rst +++ b/docs/panels.rst @@ -103,7 +103,7 @@ ready. Since this behavior is annoying when you aren't debugging a redirect, this panel is included but inactive by default. You can activate it by default with -the ``INTERCEPT_REDIRECTS`` configuration option. +the ``DISABLE_PANELS`` configuration option. Non-default built-in panels -- cgit v1.2.3