aboutsummaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
authorAymeric Augustin2013-10-27 13:08:19 +0100
committerAymeric Augustin2013-10-27 13:08:19 +0100
commitb979c164789facbaed84728de95300c2d01be61c (patch)
tree7ca44f7842677e93ff7779e5541b2a09980c4196 /README.rst
parentc0bd74252e717c4a93d333467253ef9b5c66dcb5 (diff)
downloaddjango-debug-toolbar-b979c164789facbaed84728de95300c2d01be61c.tar.bz2
Document SQL_WARNING_THRESHOLD.
Fix #429.
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 6635837..c99c10f 100644
--- a/README.rst
+++ b/README.rst
@@ -186,6 +186,11 @@ The debug toolbar has two settings that can be set in ``settings.py``:
with client-side frameworks. For example, when using with Angular.js, set
this to 'ng-non-bindable' or 'class="ng-non-bindable"'. Defaults to ''.
+ * ``SQL_WARNING_THRESHOLD``
+
+ The SQL panel highlights queries that took more that this amount of time,
+ in milliseconds, to execute. The default is 500.
+
Example configuration::
def custom_show_toolbar(request):