def save(self, *args, **kwargs): self.slug = _slugify(self.__class__, selfname) super(Team, self).save(*args, **kwargs)
def save(self, *args, **kwargs): self.slug = _slugify(self.__class__, self.username) super(Player, self).save(*args, **kwargs)