mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Drop removed context attribute from from_db_value
This commit is contained in:
@@ -324,7 +324,7 @@ class ModelRelativeDateTimeField(models.CharField):
|
||||
return value.to_string()
|
||||
return value
|
||||
|
||||
def from_db_value(self, value, expression, connection, context):
|
||||
def from_db_value(self, value, expression, connection):
|
||||
if value is None:
|
||||
return None
|
||||
return RelativeDateWrapper.from_string(value)
|
||||
|
||||
Reference in New Issue
Block a user