Exemplo n.º 1
0
 def _add_changeobj(self, collection_name, _id, data, operation_type):
     change = ChangeObject()
     object_id = [collection_name, _id]
     change.object_id = object_id
     change.data = data
     change.operation_type = operation_type
     change.changeset = self.changeset
     change.save()