summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBas Peschier <bpeschier@fizzgig.nl>2014-08-27 10:41:12 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-08-30 13:27:56 +0200
commiteacf244506d8b7e6dd6483834ea122fec864da85 (patch)
tree7a6889f60a45590b1659faae4a0199178c59fc40 /docs
parent6613ea6e3ff2597c04db35ef885562e95c1ef012 (diff)
Converted sql_queries into a lazily evaluated list.
Fixed #23364. Thanks Markush2010 for the report.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/templates/api.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt
index 2c8abe22ae..a58b3d5060 100644
--- a/docs/ref/templates/api.txt
+++ b/docs/ref/templates/api.txt
@@ -555,7 +555,8 @@ If :setting:`TEMPLATE_CONTEXT_PROCESSORS` contains this processor, every
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 how long it took. The list is in order by query and lazily generated
+ on access.
django.core.context_processors.i18n
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~