summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorThomas Chaumeny <t.chaumeny@gmail.com>2014-09-14 12:34:41 +0200
committerAnssi Kääriäinen <akaariai@gmail.com>2014-10-28 10:02:10 +0200
commit00aa562884a418c4ee20e223ab82c3455997ee7d (patch)
tree934393c39e5087bad689217003a1de59484e0000 /docs/ref
parent6b39401bafa955f4891700996aa666349fcdef74 (diff)
Fixed #23493 -- Added bilateral attribute to Transform
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