MAJ : preparing for Django 3.0
This commit is contained in:
parent
3c9486a858
commit
c8717fb06b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue