aboutsummaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
authorDavide Callegari2010-02-21 10:21:11 -0800
committerRob Hudson2010-02-21 10:21:11 -0800
commit29775b005e371583ab71854ed6998494e4317219 (patch)
tree04f1b96cdebdb3140df3e42935adb6842f900cde /README.rst
parent5237ee72b8e1f735b38a8c1776adc79e17a7f495 (diff)
downloaddjango-debug-toolbar-29775b005e371583ab71854ed6998494e4317219.tar.bz2
Added configurable HTML tag to attach toolbar to
Signed-off-by: Rob Hudson <rob@cogit8.org>
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`