summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavid Hoffman <dhoffman34@icloud.com>2014-07-26 10:00:48 -0400
committerTim Graham <timograham@gmail.com>2014-07-26 10:27:49 -0400
commite3a99357cba5085f5ae937920529292edafc5c7a (patch)
treeb46a4781fc1f79269975f43cacaf1d87ba9ba62a /docs
parent1c714c18d22a38ad2dca696ca8bc4201cc3da131 (diff)
[1.6.x] Fixed #22553 -- Added refreshing queryset info to docs.
Backport of 6d5daa30cf from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/querysets.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index 74199e3de1..f72b4bb2d0 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -687,6 +687,11 @@ can be useful in situations where you might want to pass in either a model
manager or a ``QuerySet`` and do further filtering on the result. After calling
``all()`` on either object, you'll definitely have a ``QuerySet`` to work with.
+When a ``QuerySet`` is :ref:`evaluated <when-querysets-are-evaluated>`, it
+typically caches its results. If the data in the database might have changed
+since a ``QuerySet`` was evaluated, you can get updated results for the same
+query by calling ``all()`` on a previously evaluated ``QuerySet``.
+
select_related
~~~~~~~~~~~~~~