def save(self, *args, **kwargs):
        if self.parent:
            try:
                self.site
            except Site.DoesNotExist:
                self.site = self.parent.site
        for child in self.children.all():
            if child.site not in self.site:
                child.site = self.site
                child.save()
        super(Content, self).save(*args, **kwargs)
dataset/ETHPy150Open metglobal/django-easy-cms/easy_cms/models.py/Content.save/operator `!=` -> `not in`