I am using mongoengine 0.9.0
class EntityChange(Document): ... old_data = DictField() new_data = DictField()
I want to save dict objects in old_data and new_data .
Why do fields become BaseList after assignment?
data = {u'int_id': 100500, u'_cls': 'BuildingKind', ...} instance = EntityChange() instance.new_data = data
source share