mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
[3.1.x] Fixed #31122 -- Clarified that Lookup acts as a query expression.
Backport of 9a3454f604
from master
This commit is contained in:
parent
09dbae21c9
commit
7ace6265d6
1 changed files with 2 additions and 3 deletions
|
@ -180,9 +180,8 @@ following methods:
|
|||
The notation to use a lookup in an expression is
|
||||
``<lhs>__<lookup_name>=<rhs>``.
|
||||
|
||||
This class doesn't follow the :ref:`Query Expression API <query-expression>`
|
||||
since it has ``=<rhs>`` on its construction: lookups are always the end of
|
||||
a lookup expression.
|
||||
This class acts as a query expression, but, since it has ``=<rhs>`` on its
|
||||
construction, lookups must always be the end of a lookup expression.
|
||||
|
||||
.. attribute:: lhs
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue