Exemplo n.º 1
0
 def save(self, *args, **kwargs):
     self.slug = _slugify(self.__class__, selfname)
     super(Team, self).save(*args, **kwargs)
Exemplo n.º 2
0
 def save(self, *args, **kwargs):
     self.slug = _slugify(self.__class__, self.username)
     super(Player, self).save(*args, **kwargs)