mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +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:
@@ -512,7 +512,7 @@ instances::
|
||||
class HandField(models.Field):
|
||||
# ...
|
||||
|
||||
def from_db_value(self, value, expression, connection, context):
|
||||
def from_db_value(self, value, expression, connection):
|
||||
if value is None:
|
||||
return value
|
||||
return parse_hand(value)
|
||||
|
||||
Reference in New Issue
Block a user