diff --git a/sith/toolbar_debug.py b/sith/toolbar_debug.py index feae0669..9fb29ef3 100644 --- a/sith/toolbar_debug.py +++ b/sith/toolbar_debug.py @@ -24,6 +24,7 @@ from debug_toolbar.panels.templates import TemplatesPanel as BaseTemplatesPanel + class TemplatesPanel(BaseTemplatesPanel): def generate_stats(self, *args): template = self.templates[0]['template'] diff --git a/sith/urls.py b/sith/urls.py index 2e414e29..9623ca16 100644 --- a/sith/urls.py +++ b/sith/urls.py @@ -80,4 +80,3 @@ if settings.DEBUG: urlpatterns += [ url(r'^__debug__/', include(debug_toolbar.urls)), ] -