diff options
| -rw-r--r-- | debug_toolbar/middleware.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/debug_toolbar/middleware.py b/debug_toolbar/middleware.py index ccd4778..59194dc 100644 --- a/debug_toolbar/middleware.py +++ b/debug_toolbar/middleware.py @@ -133,8 +133,5 @@ class DebugToolbarMiddleware(object): smart_unicode(toolbar.render_toolbar() + self.tag)) if response.get('Content-Length', None): response['Content-Length'] = len(response.content) - # Add the toolbar to the request object, so that the stats are - # available to subsequent middleware classes. - request.debug_toolbar_stats = toolbar.stats del self.__class__.debug_toolbars[ident] return response |
