'Adds (name, value) to an update query for an ancestor model.
Updates are coalesced so that we only run one update query per ancestor.'

def add_related_update(self, model, field, value):

    try:
        self.related_updates[model].append((field, None, value))
    except KeyError:
        self.related_updates[model] = [(field, None, value)]
