Skip to content

Commit a388a4d

Browse files
committed
Added print style to hide toolbar, fixing issue #90.
1 parent d83df71 commit a388a4d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ News for django-debug-toolbar
44
develop
55
-------
66

7+
* Added print style to hide the toolbar (issue 90)
8+
79
* Fixed "Badly formatted SQL query plan" (issue 86)
810

911
* Fixed "SQL not selectable due to line chart" (issue 85)

debug_toolbar/templates/debug_toolbar/base.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{% load i18n %}
2+
<style type="text/css">@media print { #djDebug {display:none;}}</style>
23
<script type="text/javascript">
34
// <![CDATA[
45
var DEBUG_TOOLBAR_MEDIA_URL = "{{ DEBUG_TOOLBAR_MEDIA_URL }}";

0 commit comments

Comments
 (0)