From 9d335bed8c83981370429833d1c5fd7f31b97a5e Mon Sep 17 00:00:00 2001 From: Reto Aebersold Date: Sat, 17 Jan 2009 12:18:19 -0800 Subject: Adding ability to show/hide toolbar, using jquery.cookie.js for statefulness. Signed-off-by: Rob Hudson --- debug_toolbar/templates/debug_toolbar/base.html | 12 +++++++++++- 1 file changed, 11 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 a6c8aef..3b8e92e 100644 --- a/debug_toolbar/templates/debug_toolbar/base.html +++ b/debug_toolbar/templates/debug_toolbar/base.html @@ -4,14 +4,19 @@ document.write(unescape('%3Cscript src="' + jquery_url + '" type="text/javascript"%3E%3C/script%3E')); } +
-
+ + {% for panel in panels %} {% if panel.has_content %}
-- cgit v1.2.3 From ed520f265d71ea61ff8c04ae3a0aa4246d447ae7 Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Sat, 17 Jan 2009 12:29:51 -0800 Subject: Adjust Makefile to concatenate to jquery.cookie.js onto toolbar.min.js. --- debug_toolbar/templates/debug_toolbar/base.html | 1 - 1 file changed, 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 3b8e92e..7277620 100644 --- a/debug_toolbar/templates/debug_toolbar/base.html +++ b/debug_toolbar/templates/debug_toolbar/base.html @@ -4,7 +4,6 @@ document.write(unescape('%3Cscript src="' + jquery_url + '" type="text/javascript"%3E%3C/script%3E')); } - -- cgit v1.2.3 From 1956ee540c75f9d4226f0352df5b06aae5c02703 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 27 May 2009 19:17:24 -0700 Subject: Adding a signals panel to display list of signals and their providing arguments and receivers. Thanks Alex Gaynor! Signed-off-by: Rob Hudson --- .../templates/debug_toolbar/panels/signals.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 debug_toolbar/templates/debug_toolbar/panels/signals.html (limited to 'debug_toolbar/templates') diff --git a/debug_toolbar/templates/debug_toolbar/panels/signals.html b/debug_toolbar/templates/debug_toolbar/panels/signals.html new file mode 100644 index 0000000..e9a189e --- /dev/null +++ b/debug_toolbar/templates/debug_toolbar/panels/signals.html @@ -0,0 +1,19 @@ +

Signals

+ + + + + + + + + + {% for name, signal, receivers in signals %} + + + + + + {% endfor %} + +
SignalProviding ArgsReceivers
{{ name|escape }}{{ signal.providing_args|join:", " }}{{ receivers|join:", " }}
-- cgit v1.2.3 From 4dc0710b6a5eedec0448909f6b90e55a4f3555d4 Mon Sep 17 00:00:00 2001 From: Philip Zeyliger Date: Sat, 2 May 2009 00:46:02 +0800 Subject: Captured redirection requests must be urlencoded. I ran into this when I had a URL with a ? (%3F) mark in it. Signed-off-by: Rob Hudson --- debug_toolbar/templates/debug_toolbar/redirect.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debug_toolbar/templates') diff --git a/debug_toolbar/templates/debug_toolbar/redirect.html b/debug_toolbar/templates/debug_toolbar/redirect.html index afdccc4..1f5c84b 100644 --- a/debug_toolbar/templates/debug_toolbar/redirect.html +++ b/debug_toolbar/templates/debug_toolbar/redirect.html @@ -3,7 +3,7 @@

HttpResponseRedirect

-

Location: {{ redirect_to }}

+

Location: {{ redirect_to }}

The Django Debug Toolbar has intercepted a redirect to the above URL for debug viewing purposes. You can click the above link to continue with the -- cgit v1.2.3