def touch_if_touching(self):
        if self._touching_parent():
            self.get_parent().touch()

        if self.get_parent().touches(self._relation_name):
            self.touch()
Touch if the parent model is being touched.
dataset/ETHPy150Open sdispater/orator/orator/orm/relations/belongs_to_many.py/BelongsToMany.touch_if_touching