aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/__init__.py
diff options
context:
space:
mode:
authorAymeric Augustin2014-03-09 21:50:41 +0100
committerAymeric Augustin2014-03-09 21:51:35 +0100
commita9134faef721f0166f25b0ae717ab96e4c3a4a40 (patch)
tree204dc8326aa869c42f0ea8d273b55926cdeed972 /debug_toolbar/panels/__init__.py
parent88712cf843503b3fb0e97523b80417b08a83d1fd (diff)
downloaddjango-debug-toolbar-a9134faef721f0166f25b0ae717ab96e4c3a4a40.tar.bz2
Document DISABLE_PANELS.
Diffstat (limited to 'debug_toolbar/panels/__init__.py')
-rw-r--r--debug_toolbar/panels/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/panels/__init__.py b/debug_toolbar/panels/__init__.py
index a7e3528..74b0734 100644
--- a/debug_toolbar/panels/__init__.py
+++ b/debug_toolbar/panels/__init__.py
@@ -24,7 +24,7 @@ class Panel(object):
@property
def enabled(self):
# Check to see if settings has a default value for it
- if get_name_from_obj(self) in dt_settings.CONFIG['DEFAULT_DISABLED_PANELS']:
+ if get_name_from_obj(self) in dt_settings.CONFIG['DISABLE_PANELS']:
default = 'off'
else:
default = 'on'