1
0
mirror of https://github.com/django/django.git synced 2025-04-14 20:34:36 +00:00

[1.11.x] Fixed typo in docs/ref/models/querysets.txt.

Backport of 0877989c94130079930419e867ff55fa1fb4f5a0 from master
This commit is contained in:
Tim Graham 2017-06-09 12:48:24 -04:00
parent 109fd94c96
commit 48ce204488

View File

@ -3221,7 +3221,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