diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt index be89a2435f..988652d0e7 100644 --- a/docs/ref/models/expressions.txt +++ b/docs/ref/models/expressions.txt @@ -985,6 +985,8 @@ calling the appropriate methods on the wrapped expression. A hook allowing the expression to coerce ``value`` into a more appropriate type. + ``expression`` is the same as ``self``. + .. method:: get_group_by_cols(alias=None) Responsible for returning the list of columns references by diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index c0a005e7a9..b896fbb29d 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -2075,6 +2075,8 @@ Field API reference backend already returns the correct Python type, or the backend itself does the conversion. + ``expression`` is the same as ``self``. + See :ref:`converting-values-to-python-objects` for usage. .. note::