aboutsummaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 479d4c0..492c8f7 100644
--- a/README.rst
+++ b/README.rst
@@ -114,6 +114,9 @@ The debug toolbar has two settings that can be set in `settings.py`:
off is useful when you have large template contexts, or you have template
contexts with lazy datastructures that you don't want to be evaluated.
+ * `TAG`: If set, this will be the tag to which debug_toolbar will attach the
+ debug toolbar. Defaults to 'body'.
+
Example configuration::
def custom_show_toolbar(request):
@@ -124,6 +127,7 @@ The debug toolbar has two settings that can be set in `settings.py`:
'SHOW_TOOLBAR_CALLBACK': custom_show_toolbar,
'EXTRA_SIGNALS': ['myproject.signals.MySignal'],
'HIDE_DJANGO_SQL': False,
+ 'TAG': 'div',
}
`debugsqlshell`