'Make sure my `attr` attr is the same as my parent\'s if I have one.
Otherwise, if I have children, make sure their `attr` attr is the same
as mine.'

def _ensure_inherited_attr(self, attr):

    if self.parent:
        setattr(self, attr, getattr(self.parent, attr))
    elif self.id:
        self.translations.all().update(**{attr: getattr(self, attr)})
