mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and Expression.convert_value().
Unused since a0d166306f.
This commit is contained in:
@@ -714,7 +714,7 @@ calling the appropriate methods on the wrapped expression.
|
||||
clone.expression = self.expression.relabeled_clone(change_map)
|
||||
return clone
|
||||
|
||||
.. method:: convert_value(value, expression, connection, context)
|
||||
.. method:: convert_value(value, expression, connection)
|
||||
|
||||
A hook allowing the expression to coerce ``value`` into a more
|
||||
appropriate type.
|
||||
|
||||
@@ -1797,7 +1797,7 @@ Field API reference
|
||||
|
||||
When loading data, :meth:`from_db_value` is used:
|
||||
|
||||
.. method:: from_db_value(value, expression, connection, context)
|
||||
.. method:: from_db_value(value, expression, connection)
|
||||
|
||||
Converts a value as returned by the database to a Python object. It is
|
||||
the reverse of :meth:`get_prep_value`.
|
||||
|
||||
Reference in New Issue
Block a user