diff --git a/equipment/fields.py b/equipment/fields.py index 2b63d52..5e7ecce 100644 --- a/equipment/fields.py +++ b/equipment/fields.py @@ -37,7 +37,7 @@ class IdField(models.BigIntegerField): k += 1 return res - def from_db_value(self, value, expression, connection, context): + def from_db_value(self, value, expression, connection): if value is None: return value return self.parse_integer(value)