Fixed #23493 -- Added bilateral attribute to Transform

This commit is contained in:
Thomas Chaumeny 2014-09-14 12:34:41 +02:00 committed by Anssi Kääriäinen
parent 6b39401baf
commit 00aa562884
6 changed files with 268 additions and 28 deletions

View file

@ -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