aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/settings.py
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-24 17:30:49 +0100
committerAymeric Augustin2013-11-24 17:30:49 +0100
commit57a6e261c2768503e1401f99cefd4470c8dc5e8f (patch)
treead0f1553d0155988701b1d63f0f4438ae127bcab /debug_toolbar/panels/settings.py
parent3d72c1fa927f129b2a79ea3496cce3262516705b (diff)
downloaddjango-debug-toolbar-57a6e261c2768503e1401f99cefd4470c8dc5e8f.tar.bz2
Update all panels to follow the public API.
Diffstat (limited to 'debug_toolbar/panels/settings.py')
-rw-r--r--debug_toolbar/panels/settings.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/debug_toolbar/panels/settings.py b/debug_toolbar/panels/settings.py
index b7af57d..2729128 100644
--- a/debug_toolbar/panels/settings.py
+++ b/debug_toolbar/panels/settings.py
@@ -12,12 +12,9 @@ class SettingsPanel(Panel):
"""
A panel to display all variables in django.conf.settings
"""
- name = 'Settings'
template = 'debug_toolbar/panels/settings.html'
- has_content = True
- def nav_title(self):
- return _('Settings')
+ nav_title = _('Settings')
def title(self):
return _('Settings from <code>%s</code>') % settings.SETTINGS_MODULE