From fab05ca8cbb728fddceb8a6aaa117cc684ef06c6 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Tue, 5 Nov 2013 11:26:32 -0500 Subject: Change how JS libs are loaded This change makes Django-Debug-Toolbar use the existing version of jQuery on the page if one exists, and only loads jQuery if it isn't already loaded. It also explicitly loads the jQuery cookie plugin and the toolbar script as separate files. Finally, we are no longer compressing/minimizing scripts; this is for debug purposes, and presumably will not be served in production. --- debug_toolbar/templates/debug_toolbar/base.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'debug_toolbar/templates') diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html index 4068ced..dc7d1c5 100644 --- a/debug_toolbar/templates/debug_toolbar/base.html +++ b/debug_toolbar/templates/debug_toolbar/base.html @@ -3,7 +3,9 @@ @media print { #djDebug {display:none;}} - + + +