Small fix in SequenceField
This commit is contained in:
parent
598ffd3e5c
commit
8bde0c0e53
@ -1289,7 +1289,7 @@ class SequenceField(IntField):
|
||||
instance._data[self.name] = value
|
||||
instance._mark_as_changed(self.name)
|
||||
|
||||
return value
|
||||
return int(value) if value else None
|
||||
|
||||
def __set__(self, instance, value):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user