File tree 2 files changed +10
-6
lines changed
2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ Next version
9
9
* Added ``PRETTIFY_SQL `` configuration option to support controlling
10
10
SQL token grouping. By default it's set to True. When set to False,
11
11
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
15
16
rendered during the request and not loaded asynchronously.
16
17
17
18
Original file line number Diff line number Diff line change @@ -73,14 +73,17 @@ Toolbar options
73
73
Default: ``None ``
74
74
75
75
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
78
80
required on multi-process servers, for example if you deploy the toolbar in
79
81
production (which isn't recommended).
80
82
81
83
The default value of ``None `` tells the toolbar to automatically do the
82
84
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 ``.
84
87
85
88
* ``RESULTS_CACHE_SIZE ``
86
89
You can’t perform that action at this time.
0 commit comments