Fixed typo in docs/ref/models/querysets.txt.

This commit is contained in:
Tim Graham 2017-06-09 12:48:24 -04:00
parent 108ff788cb
commit 0877989c94
1 changed files with 1 additions and 1 deletions

View File

@ -3217,7 +3217,7 @@ as the string based lookups passed to
# This will only execute two queries regardless of the number of Question # This will only execute two queries regardless of the number of Question
# and Choice objects. # and Choice objects.
>>> Question.objects.prefetch_related(Prefetch('choice_set')).all() >>> Question.objects.prefetch_related(Prefetch('choice_set')).all()
<QuerySet [<Question: Question object>]> <QuerySet [<Question: What's up?>]>
The ``queryset`` argument supplies a base ``QuerySet`` for the given lookup. The ``queryset`` argument supplies a base ``QuerySet`` for the given lookup.
This is useful to further filter down the prefetch operation, or to call This is useful to further filter down the prefetch operation, or to call