summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/templates/api.txt9
-rw-r--r--docs/releases/1.10.txt3
2 files changed, 10 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``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/docs/releases/1.10.txt b/docs/releases/1.10.txt
index 490aa30fb7..adae2524da 100644
--- a/docs/releases/1.10.txt
+++ b/docs/releases/1.10.txt
@@ -414,6 +414,9 @@ Templates
* Allowed :tfilter:`dictsort` to order a list of lists by an element at a
specified index.
+* The :func:`~django.template.context_processors.debug` context processor
+ contains queries for all database aliases instead of only the default alias.
+
Tests
~~~~~