diff options
| author | Paulo Scardine | 2013-05-23 22:50:33 -0300 |
|---|---|---|
| committer | Aymeric Augustin | 2013-10-27 10:24:39 +0100 |
| commit | c710140a15222af2cf31b7579c6a5fedf9a482d5 (patch) | |
| tree | 5ec0c8f997aacdbf24d5d77686f619362d6f5107 /README.rst | |
| parent | ae52695631b409420aa1cf703a94a80c28c652b7 (diff) | |
| download | django-debug-toolbar-c710140a15222af2cf31b7579c6a5fedf9a482d5.tar.bz2 | |
Allow setting arbitrary attributes on the toolbar.
Fix #334.
Diffstat (limited to 'README.rst')
| -rw-r--r-- | README.rst | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -180,6 +180,12 @@ The debug toolbar has two settings that can be set in ``settings.py``: (The first value is ``socketserver`` on Python 3 and ``SocketServer`` on Python 2.) + * ``ROOT_TAG_ATTRS`` + + This setting is injected in the root template div in order to avoid conflicts + with client-side frameworks. For example, when using with Angular.js, set + this to 'ng-non-bindable' or 'class="ng-non-bindable"'. Defaults to ''. + Example configuration:: def custom_show_toolbar(request): |
