def save(self, *args, **kwargs): super(Name, self).save(*args, **kwargs) if hasattr(countries, 'name_save_hook'): countries.name_save_hook(self)