diff options
| author | Aymeric Augustin | 2013-11-15 22:25:33 +0100 |
|---|---|---|
| committer | Aymeric Augustin | 2013-11-15 22:25:33 +0100 |
| commit | f0d0ddbada065ec0ff4fc64aed9d2f9ba48ba5a3 (patch) | |
| tree | 212c735532eedcdd643de7f1af929d6aa5628aa7 /debug_toolbar/views.py | |
| parent | e2a053a9679616b0141a1cec15c237ca8fbc976a (diff) | |
| download | django-debug-toolbar-f0d0ddbada065ec0ff4fc64aed9d2f9ba48ba5a3.tar.bz2 | |
Switch to random storage ids to avoid exposing information.
Diffstat (limited to 'debug_toolbar/views.py')
| -rw-r--r-- | debug_toolbar/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/views.py b/debug_toolbar/views.py index 5d41f77..07e38d9 100644 --- a/debug_toolbar/views.py +++ b/debug_toolbar/views.py @@ -9,7 +9,7 @@ from debug_toolbar.toolbar import DebugToolbar def render_panel(request): """Render the contents of a panel""" - toolbar = DebugToolbar.fetch(int(request.GET['storage_id'])) + toolbar = DebugToolbar.fetch(request.GET['storage_id']) if toolbar is None: content = _("Data for this panel isn't available anymore. " "Please reload the page and retry.") |
