diff options
Diffstat (limited to 'docs/configuration.rst')
| -rw-r--r-- | docs/configuration.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/configuration.rst b/docs/configuration.rst index 129b0e0..d8cf9a9 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -40,6 +40,20 @@ toolbar itself, others are specific to some panels. Toolbar options ~~~~~~~~~~~~~~~ +* ``RENDER_PANELS`` + + Default: ``None`` + + If set to ``False``, the debug toolbar will keep the contents of panels in + memory on the server and load them on demand. If set to ``True``, it will + render panels inside every page. This may slow down page rendering but it's + required on multi-process servers, for example if you deploy the toolbar in + production (which isn't recommended). + + The default value of ``None`` tells the toolbar to automatically do the + right thing depending on whether the WSGI container runs multiple processes. + This setting allows you to force a different behavior if needed. + * ``INTERCEPT_REDIRECTS`` Default: ``False`` |
