Skip to content

Commit a50ff2c

Browse files
committed
Merge pull request #135 from acdha/django-debug-toolbar
--- This is mostly just because my in-browser validation badges fail if debug-toolbar is active.
2 parents a2edb76 + 1efd6e6 commit a50ff2c

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

debug_toolbar/media/debug_toolbar/css/toolbar.css

+6
Original file line numberDiff line numberDiff line change
@@ -394,3 +394,9 @@
394394
#djDebug .highlight .nv { color:#333 } /* Name.Variable */
395395
#djDebug .highlight .s2 { color:#333 } /* Literal.String.Double */
396396
#djDebug .highlight .cp { color:#333 } /* Comment.Preproc */
397+
398+
@media print {
399+
#djDebug {
400+
display: none;
401+
}
402+
}

debug_toolbar/media/debug_toolbar/css/toolbar.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

debug_toolbar/templates/debug_toolbar/base.html

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{% load i18n %}
2-
<style type="text/css">@media print { #djDebug {display:none;}}</style>
32
<script type="text/javascript">
43
// <![CDATA[
54
var DEBUG_TOOLBAR_MEDIA_URL = "{{ DEBUG_TOOLBAR_MEDIA_URL }}";

0 commit comments

Comments
 (0)