Merge branch 'master' of github.com:MongoEngine/mongoengine
This commit is contained in:
		| @@ -1288,7 +1288,7 @@ class SequenceField(IntField): | |||||||
|             instance._data[self.name] = value |             instance._data[self.name] = value | ||||||
|             instance._mark_as_changed(self.name) |             instance._mark_as_changed(self.name) | ||||||
|  |  | ||||||
|         return value |         return int(value) if value else None | ||||||
|  |  | ||||||
|     def __set__(self, instance, value): |     def __set__(self, instance, value): | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user