Exemple #1
0
 def save(self, *args, **kwargs):
     super(Name, self).save(*args, **kwargs)
     if hasattr(countries, 'name_save_hook'):
         countries.name_save_hook(self)
Exemple #2
0
 def save(self, *args, **kwargs):
     super(Name, self).save(*args, **kwargs)
     if hasattr(countries, 'name_save_hook'):
         countries.name_save_hook(self)