diff options
Diffstat (limited to 'docs/ref/templates/api.txt')
| -rw-r--r-- | docs/ref/templates/api.txt | 9 |
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`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
