mirror of
https://github.com/django/django.git
synced 2025-12-04 09:03:21 +00:00
Fixed #31368 -- Doc'd 'expression' parameter of Field.from_db_value()/Expression.convert_value().
This commit is contained in:
parent
5f8495a40a
commit
6929f13254
2 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue