mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Fixed typo in docs/ref/models/querysets.txt.
This commit is contained in:
parent
108ff788cb
commit
0877989c94
1 changed files with 1 additions and 1 deletions
|
|
@ -3217,7 +3217,7 @@ as the string based lookups passed to
|
|||
# This will only execute two queries regardless of the number of Question
|
||||
# and Choice objects.
|
||||
>>> 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.
|
||||
This is useful to further filter down the prefetch operation, or to call
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue