aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar
diff options
context:
space:
mode:
authorRob Hudson2010-11-08 13:25:52 -0800
committerRob Hudson2010-11-08 13:31:07 -0800
commita388a4db29e854c48354b1c6fafdf0a1fc04e541 (patch)
treeb3b9281cbf4e5a7c351f2016e998c38e9210290d /debug_toolbar
parentd83df7141239a2ca6f43f0b96c91919641e36f3f (diff)
downloaddjango-debug-toolbar-a388a4db29e854c48354b1c6fafdf0a1fc04e541.tar.bz2
Added print style to hide toolbar, fixing issue #90.
Diffstat (limited to 'debug_toolbar')
-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 7f7a535..0fe64ca 100644
--- a/debug_toolbar/templates/debug_toolbar/base.html
+++ b/debug_toolbar/templates/debug_toolbar/base.html
@@ -1,4 +1,5 @@
{% load i18n %}
+<style type="text/css">@media print { #djDebug {display:none;}}</style>
<script type="text/javascript">
// <![CDATA[
var DEBUG_TOOLBAR_MEDIA_URL = "{{ DEBUG_TOOLBAR_MEDIA_URL }}";