diff options
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__'): |
