diff options
| author | Aymeric Augustin | 2013-11-24 17:30:49 +0100 |
|---|---|---|
| committer | Aymeric Augustin | 2013-11-24 17:30:49 +0100 |
| commit | 57a6e261c2768503e1401f99cefd4470c8dc5e8f (patch) | |
| tree | ad0f1553d0155988701b1d63f0f4438ae127bcab /debug_toolbar/panels/profiling.py | |
| parent | 3d72c1fa927f129b2a79ea3496cce3262516705b (diff) | |
| download | django-debug-toolbar-57a6e261c2768503e1401f99cefd4470c8dc5e8f.tar.bz2 | |
Update all panels to follow the public API.
Diffstat (limited to 'debug_toolbar/panels/profiling.py')
| -rw-r--r-- | debug_toolbar/panels/profiling.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/debug_toolbar/panels/profiling.py b/debug_toolbar/panels/profiling.py index 9443e34..f4d32c4 100644 --- a/debug_toolbar/panels/profiling.py +++ b/debug_toolbar/panels/profiling.py @@ -144,15 +144,9 @@ class ProfilingPanel(Panel): """ Panel that displays profiling information. """ - name = 'Profiling' - template = 'debug_toolbar/panels/profiling.html' - has_content = True - - def nav_title(self): - return _('Profiling') + title = _('Profiling') - def title(self): - return _('Profiling') + template = 'debug_toolbar/panels/profiling.html' def _unwrap_closure_and_profile(self, func): if not hasattr(func, '__code__'): |
