summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/lookups.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/models/lookups.txt b/docs/ref/models/lookups.txt
index d3f64c07a9..da338b7cb2 100644
--- a/docs/ref/models/lookups.txt
+++ b/docs/ref/models/lookups.txt
@@ -129,6 +129,15 @@ Transform reference
This class follows the :ref:`Query Expression API <query-expression>`, which
implies that you can use ``<expression>__<transform1>__<transform2>``.
+ .. attribute:: bilateral
+
+ .. versionadded:: 1.8
+
+ A boolean indicating whether this transformation should apply to both
+ ``lhs`` and ``rhs``. Bilateral transformations will be applied to ``rhs`` in
+ the same order as they appear in the lookup expression. By default it is set
+ to ``False``. For example usage, see :doc:`/howto/custom-lookups`.
+
.. attribute:: lhs
The left-hand side - what is being transformed. It must follow the