MAJ : preparing for Django 3.0

This commit is contained in:
Qwann 2018-08-27 00:56:57 +02:00
parent 3c9486a858
commit c8717fb06b

View file

@ -37,7 +37,7 @@ class IdField(models.BigIntegerField):
k += 1 k += 1
return res return res
def from_db_value(self, value, expression, connection, context): def from_db_value(self, value, expression, connection):
if value is None: if value is None:
return value return value
return self.parse_integer(value) return self.parse_integer(value)