aboutsummaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
authorPaulo Scardine2013-05-23 22:50:33 -0300
committerAymeric Augustin2013-10-27 10:24:39 +0100
commitc710140a15222af2cf31b7579c6a5fedf9a482d5 (patch)
tree5ec0c8f997aacdbf24d5d77686f619362d6f5107 /README.rst
parentae52695631b409420aa1cf703a94a80c28c652b7 (diff)
downloaddjango-debug-toolbar-c710140a15222af2cf31b7579c6a5fedf9a482d5.tar.bz2
Allow setting arbitrary attributes on the toolbar.
Fix #334.
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst6
1 files changed, 6 insertions, 0 deletions
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):