diff options
Diffstat (limited to 'debug_toolbar')
| -rw-r--r-- | debug_toolbar/middleware.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/middleware.py b/debug_toolbar/middleware.py index 03b2804..ccd4778 100644 --- a/debug_toolbar/middleware.py +++ b/debug_toolbar/middleware.py @@ -135,6 +135,6 @@ class DebugToolbarMiddleware(object): 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 = toolbar + request.debug_toolbar_stats = toolbar.stats del self.__class__.debug_toolbars[ident] return response |
