diff options
| author | David Hoffman <dhoffman34@icloud.com> | 2014-07-26 10:00:48 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-07-26 10:27:02 -0400 |
| commit | 6d5daa30cf29d0bada0586213ecb2959152566b4 (patch) | |
| tree | 6897b1dfb82a575bca4871cd2f0601a772a56055 /docs | |
| parent | 5cdb8f8c1ea7161ca9e3b702ec7cdd7e3cd0999a (diff) | |
Fixed #22553 -- Added refreshing queryset info to docs.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/querysets.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 96b1b03942..74fd813215 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -717,6 +717,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 ~~~~~~~~~~~~~~ |
