[3.0.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of 51e536178c
from master
This commit is contained in:
parent
f4b7996e9b
commit
b732afe30a
|
@ -851,8 +851,8 @@ duplicate values, use the ``all=True`` argument.
|
||||||
of the type of the first ``QuerySet`` even if the arguments are ``QuerySet``\s
|
of the type of the first ``QuerySet`` even if the arguments are ``QuerySet``\s
|
||||||
of other models. Passing different models works as long as the ``SELECT`` list
|
of other models. Passing different models works as long as the ``SELECT`` list
|
||||||
is the same in all ``QuerySet``\s (at least the types, the names don't matter
|
is the same in all ``QuerySet``\s (at least the types, the names don't matter
|
||||||
as long as the types in the same order). In such cases, you must use the column
|
as long as the types are in the same order). In such cases, you must use the
|
||||||
names from the first ``QuerySet`` in ``QuerySet`` methods applied to the
|
column names from the first ``QuerySet`` in ``QuerySet`` methods applied to the
|
||||||
resulting ``QuerySet``. For example::
|
resulting ``QuerySet``. For example::
|
||||||
|
|
||||||
>>> qs1 = Author.objects.values_list('name')
|
>>> qs1 = Author.objects.values_list('name')
|
||||||
|
|
Loading…
Reference in New Issue