File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 2
2
3
3
from django .conf import settings
4
4
5
- # Always import this module as follows:
6
- # from debug_toolbar import settings [as dt_settings]
7
-
8
- # Don't import directly CONFIG or PANELs, or you will miss changes performed
9
- # with override_settings in tests.
10
-
11
5
12
6
CONFIG_DEFAULTS = {
13
7
# Toolbar options
Original file line number Diff line number Diff line change @@ -54,7 +54,14 @@ Toolbar options
54
54
55
55
* ``DISABLE_PANELS ``
56
56
57
- Default: ``{'debug_toolbar.panels.redirects.RedirectsPanel'} ``
57
+ Default:
58
+
59
+ .. code-block :: python
60
+
61
+ {
62
+ " debug_toolbar.panels.profiling.ProfilingPanel" ,
63
+ " debug_toolbar.panels.redirects.RedirectsPanel" ,
64
+ }
58
65
59
66
This setting is a set of the full Python paths to each panel that you
60
67
want disabled (but still displayed) by default.
You can’t perform that action at this time.
0 commit comments