def to_objectchange(self, action):
    return ObjectChange(changed_object=self, object_repr=str(self), action=action, object_data=serialize_object(self))
def to_objectchange(self, action):
    return ObjectChange(changed_object=self, object_repr=str(self), action=action, object_data=serialize_object(self))