aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/redirect.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/redirect.html b/debug_toolbar/templates/debug_toolbar/redirect.html
new file mode 100644
index 0000000..b61286e
--- /dev/null
+++ b/debug_toolbar/templates/debug_toolbar/redirect.html
@@ -0,0 +1,14 @@
+<html>
+<head>
+</head>
+<body>
+<h1>HttpResponseRedirect</h1>
+<p>Location: <a href="{{ redirect_to }}">{{ redirect_to }}</a></p>
+<p class="notice">
+ 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 config
+ property <code>INTERCEPT_REDIRECTS</code> to <code>False</code>.
+</p>
+</body>
+</html>