From c710140a15222af2cf31b7579c6a5fedf9a482d5 Mon Sep 17 00:00:00 2001 From: Paulo Scardine Date: Thu, 23 May 2013 22:50:33 -0300 Subject: Allow setting arbitrary attributes on the toolbar. Fix #334. --- README.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 2ada325..6635837 100644 --- a/README.rst +++ b/README.rst @@ -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): -- cgit v1.2.3