diff options
| author | Aymeric Augustin | 2013-10-31 13:28:03 +0100 | 
|---|---|---|
| committer | Aymeric Augustin | 2013-11-01 13:50:38 +0100 | 
| commit | d4e5ef9e969b3cae675de2a602372ae7a639d0a2 (patch) | |
| tree | f9f2aee35483545a3fa8a0a386bffcfd5007de44 /docs/tips.rst | |
| parent | 30180ec9a3d82752e309f5d0f9c685dec097e40d (diff) | |
| download | django-debug-toolbar-d4e5ef9e969b3cae675de2a602372ae7a639d0a2.tar.bz2 | |
Add a checkbox to toggle panels from the frontend.
Fix #35.
Diffstat (limited to 'docs/tips.rst')
| -rw-r--r-- | docs/tips.rst | 12 | 
1 files changed, 7 insertions, 5 deletions
| diff --git a/docs/tips.rst b/docs/tips.rst index 25e2859..5de4ec3 100644 --- a/docs/tips.rst +++ b/docs/tips.rst @@ -6,8 +6,8 @@ Performance considerations  The Debug Toolbar adds some overhead to the rendering of each page. Depending  on your project, this overhead may slow down page loads significantly. If that -makes development impractical, you can tune some settings to disable the most -expensive features and restore decent response times. +makes development impractical, you can disable the most expensive features to +restore decent response times.  The SQL panel may be the culprit if your view performs many SQL queries. You  should attempt to minimize the number of SQL queries, but this isn't always @@ -24,6 +24,8 @@ large contexts and your templates have complex inheritance or inclusion  schemes. In that case, you should set ``SHOW_TEMPLATE_CONTEXT`` to ``False``  in the ``DEBUG_TOOLBAR_CONFIG`` setting. -Finally, if you don't need the panels that are slowing down your application, -you can customize the ``DEBUG_TOOLBAR_PANELS`` setting to include only the -panels you actually use. +If you don't need the panels that are slowing down your application, you can +disable them temporarily by deselecting the checkbox at the top right of each +panel. Depending on implementation details, there may be a residual overhead. +To remove them entirely, you can customize the ``DEBUG_TOOLBAR_PANELS`` +setting to include only the panels you actually use. | 
