summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCaio Ariede <caio.ariede@gmail.com>2020-10-19 09:15:39 -0300
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-11-11 14:36:37 +0100
commit7ace6265d68febc2914aafe39cd671c13da43715 (patch)
treef0e0d5425cff4a957ff1fae5fd0e5f48a2a9838d /docs
parent09dbae21c986514af41098bd3b3d7676a535281c (diff)
[3.1.x] Fixed #31122 -- Clarified that Lookup acts as a query expression.
Backport of 9a3454f6046b9b7591fd03e21cf6da0b23c57689 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/lookups.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/ref/models/lookups.txt b/docs/ref/models/lookups.txt
index 0846ade640..fdbde328de 100644
--- a/docs/ref/models/lookups.txt
+++ b/docs/ref/models/lookups.txt
@@ -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