

def save(self, *args, **kwargs):
    self.name = self.full_name.split('.')[0]
    self.full_clean()
    super(Site, self).save(*args, **kwargs)

dataset/ETHPy150Open mozilla/inventory/core/site/models.py Site.save/original