aboutsummaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
authorAymeric Augustin2013-10-18 22:32:03 +0200
committerAymeric Augustin2013-10-18 22:32:03 +0200
commitd3d5b492543ed0fa42914152178df88b59496fe7 (patch)
tree06d358ed78626b852ba4cd925e5f085b6b04f0f1 /README.rst
parentfbd16d85245184f40f869026cedc4e0440dde17b (diff)
downloaddjango-debug-toolbar-d3d5b492543ed0fa42914152178df88b59496fe7.tar.bz2
Disable redirects interception by default.
In general it's more annoying than useful.
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst11
1 files changed, 5 insertions, 6 deletions
diff --git a/README.rst b/README.rst
index 9a4bfef..32cda1d 100644
--- a/README.rst
+++ b/README.rst
@@ -129,11 +129,10 @@ The debug toolbar has two settings that can be set in ``settings.py``:
* ``INTERCEPT_REDIRECTS``
- If set to True (default), the debug toolbar will
- show an intermediate page upon redirect so you can view any debug
- information prior to redirecting. This page will provide a link to the
- redirect destination you can follow when ready. If set to False, redirects
- will proceed as normal.
+ If set to True, the debug toolbar will show an intermediate page upon
+ redirect so you can view any debug information prior to redirecting. This
+ page will provide a link to the redirect destination you can follow when
+ ready. If set to False (default), redirects will proceed as normal.
* ``SHOW_TOOLBAR_CALLBACK``
@@ -178,7 +177,7 @@ The debug toolbar has two settings that can be set in ``settings.py``:
return True # Always show toolbar, for example purposes only.
DEBUG_TOOLBAR_CONFIG = {
- 'INTERCEPT_REDIRECTS': False,
+ 'INTERCEPT_REDIRECTS': True,
'SHOW_TOOLBAR_CALLBACK': custom_show_toolbar,
'EXTRA_SIGNALS': ['myproject.signals.MySignal'],
'HIDE_DJANGO_SQL': False,