Skip to content

Commit 765fbd1

Browse files
committed
Improved RENDER_PANELS documentation and change log.
1 parent 4cadf08 commit 765fbd1

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

docs/changes.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ Next version
99
* Added ``PRETTIFY_SQL`` configuration option to support controlling
1010
SQL token grouping. By default it's set to True. When set to False,
1111
a performance improvement can be seen by the SQL panel.
12-
* ``HistoryPanel`` will be disabled when ``RENDER_PANELS`` is ``True``
13-
or if it's not set, but the server is running with multiple processes.
14-
* Fixes ``RENDER_PANELS`` functionality so that when ``True`` panels are
12+
* Disabled ``HistoryPanel`` when ``RENDER_PANELS`` is ``True``
13+
or if ``RENDER_PANELS`` is ``None`` and the WSGI container is
14+
running with multiple processes.
15+
* Fixed ``RENDER_PANELS`` functionality so that when ``True`` panels are
1516
rendered during the request and not loaded asynchronously.
1617

1718

docs/configuration.rst

+6-3
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,17 @@ Toolbar options
7373
Default: ``None``
7474

7575
If set to ``False``, the debug toolbar will keep the contents of panels in
76-
memory on the server and load them on demand. If set to ``True``, it will
77-
render panels inside every page. This may slow down page rendering but it's
76+
memory on the server and load them on demand.
77+
78+
If set to ``True``, it will disable ``HistoryPanel`` and render panels
79+
inside every page. This may slow down page rendering but it's
7880
required on multi-process servers, for example if you deploy the toolbar in
7981
production (which isn't recommended).
8082

8183
The default value of ``None`` tells the toolbar to automatically do the
8284
right thing depending on whether the WSGI container runs multiple processes.
83-
This setting allows you to force a different behavior if needed.
85+
This setting allows you to force a different behavior if needed. If the
86+
WSGI container runs multiple processes, it will disable ``HistoryPanel``.
8487

8588
* ``RESULTS_CACHE_SIZE``
8689

0 commit comments

Comments
 (0)