mirror of https://github.com/django/django.git
Fixed #31122 -- Clarified that Lookup acts as a query expression.
This commit is contained in:
parent
f1585c54d0
commit
9a3454f604
|
@ -180,9 +180,8 @@ following methods:
|
||||||
The notation to use a lookup in an expression is
|
The notation to use a lookup in an expression is
|
||||||
``<lhs>__<lookup_name>=<rhs>``.
|
``<lhs>__<lookup_name>=<rhs>``.
|
||||||
|
|
||||||
This class doesn't follow the :ref:`Query Expression API <query-expression>`
|
This class acts as a query expression, but, since it has ``=<rhs>`` on its
|
||||||
since it has ``=<rhs>`` on its construction: lookups are always the end of
|
construction, lookups must always be the end of a lookup expression.
|
||||||
a lookup expression.
|
|
||||||
|
|
||||||
.. attribute:: lhs
|
.. attribute:: lhs
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue