summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorMounir Messelmeni <messelmeni.mounir@gmail.com>2016-04-09 14:09:08 +0200
committerTim Graham <timograham@gmail.com>2016-04-09 11:47:15 -0400
commit03e1cc930c6a5fbe993fb120e4403f3dd8a7c211 (patch)
tree45db45095ba8f50bc7c89162d5327576198e1035 /docs/ref
parent9e3f141701b96b6974b3386f83dc76e70a41377d (diff)
Fixed #26145 -- Made debug context processor return queries for all databases.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/templates/api.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt
index 6edc818730..1bfb1f87a5 100644
--- a/docs/ref/templates/api.txt
+++ b/docs/ref/templates/api.txt
@@ -699,8 +699,13 @@ the request's IP address (``request.META['REMOTE_ADDR']``) is in the
you're in :setting:`DEBUG` mode.
* ``sql_queries`` -- A list of ``{'sql': ..., 'time': ...}`` dictionaries,
representing every SQL query that has happened so far during the request
- and how long it took. The list is in order by query and lazily generated
- on access.
+ and how long it took. The list is in order by database alias and then by
+ query. It's lazily generated on access.
+
+.. versionchanged:: 1.10
+
+ In older versions, only the queries for the default database alias were
+ included.
``django.template.context_processors.i18n``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~