From b979c164789facbaed84728de95300c2d01be61c Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 27 Oct 2013 13:08:19 +0100 Subject: Document SQL_WARNING_THRESHOLD. Fix #429. --- README.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.rst') 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): -- cgit v1.2.3