diff options
| author | Davide Callegari | 2010-02-21 10:21:11 -0800 | 
|---|---|---|
| committer | Rob Hudson | 2010-02-21 10:21:11 -0800 | 
| commit | 29775b005e371583ab71854ed6998494e4317219 (patch) | |
| tree | 04f1b96cdebdb3140df3e42935adb6842f900cde /README.rst | |
| parent | 5237ee72b8e1f735b38a8c1776adc79e17a7f495 (diff) | |
| download | django-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.rst | 4 | 
1 files changed, 4 insertions, 0 deletions
| @@ -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` | 
