Fixed typo in docs/ref/models/querysets.txt.
This commit is contained in:
parent
108ff788cb
commit
0877989c94
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue