diff options
| author | Rob Hudson | 2010-11-08 13:25:52 -0800 |
|---|---|---|
| committer | Rob Hudson | 2010-11-08 13:31:07 -0800 |
| commit | a388a4db29e854c48354b1c6fafdf0a1fc04e541 (patch) | |
| tree | b3b9281cbf4e5a7c351f2016e998c38e9210290d | |
| parent | d83df7141239a2ca6f43f0b96c91919641e36f3f (diff) | |
| download | django-debug-toolbar-a388a4db29e854c48354b1c6fafdf0a1fc04e541.tar.bz2 | |
Added print style to hide toolbar, fixing issue #90.
| -rw-r--r-- | NEWS | 2 | ||||
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/base.html | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -4,6 +4,8 @@ News for django-debug-toolbar develop ------- +* Added print style to hide the toolbar (issue 90) + * Fixed "Badly formatted SQL query plan" (issue 86) * Fixed "SQL not selectable due to line chart" (issue 85) 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"> // <