From e89992a951b05b20dcd5c59927041d41b23110c9 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Fri, 15 Nov 2013 20:45:32 +0100 Subject: Implement redirects interception as a panel. Fix #122. --- debug_toolbar/templates/debug_toolbar/redirect.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'debug_toolbar/templates') diff --git a/debug_toolbar/templates/debug_toolbar/redirect.html b/debug_toolbar/templates/debug_toolbar/redirect.html index ca33446..f2dde2d 100644 --- a/debug_toolbar/templates/debug_toolbar/redirect.html +++ b/debug_toolbar/templates/debug_toolbar/redirect.html @@ -4,10 +4,10 @@ -

HttpResponseRedirect

-

{% trans 'Location' %}: {{ redirect_to }}

+

{{ status_line }}

+

{% trans "Location" %}: {{ redirect_to }}

- {% trans "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 redirect as normal. If you'd like to disable this feature, set the DEBUG_TOOLBAR_CONFIG dictionary's key INTERCEPT_REDIRECTS to False." %} + {% trans "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 redirect as normal." %}