Check if you deleted that field directly of Model
instance. The principle is, that when you pass an object to a function, it is the same object and not a copy of it, so the deletion of an attribute by, for example, del vars(object)[field]
would change the original object. Instead use copy.deepcopy(object)
before changing it.