瀏覽代碼

Fixed #31122 -- Clarified that Lookup acts as a query expression.

Caio Ariede 4 年之前
父節點
當前提交
9a3454f604
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      docs/ref/models/lookups.txt

+ 2 - 3
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