aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-13 20:40:22 +0100
committerAymeric Augustin2013-11-13 20:40:22 +0100
commit97090c32941784d28818721f37eee69e21e2d74e (patch)
treefdabb0301faf9595312b908e738638d18ecffacb /debug_toolbar/templates
parenta3acf6b57275f2a14cde7c209a8b6dff107275b0 (diff)
downloaddjango-debug-toolbar-97090c32941784d28818721f37eee69e21e2d74e.tar.bz2
Provide an option to force rendering panels in page.
Requested by David who seems to runs the debug toolbar in production :-)
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/base.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html
index c3cd339..b2ea63e 100644
--- a/debug_toolbar/templates/debug_toolbar/base.html
+++ b/debug_toolbar/templates/debug_toolbar/base.html
@@ -53,6 +53,7 @@ if(!window.jQuery) document.write('<scr'+'ipt src="{{ STATIC_URL }}debug_toolbar
</div>
<div class="djDebugPanelContent">
<div class="scroll">
+ {% if not storage_id %}{{ panel.content }}{% endif %}
</div>
</div>
</div>