Browse files

[1.6.x] Fixed #22553 -- Added refreshing queryset info to docs.

Backport of 6d5daa3 from master
  • Loading branch information...
David Hoffman authored and timgraham committed Jul 26, 2014
1 parent 1c714c1 commit e3a99357cba5085f5ae937920529292edafc5c7a
Showing with 5 additions and 0 deletions.
  1. +5 −0 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``.

0 comments on commit e3a9935

Please sign in to comment.