示例#1
0
 def save(self, *args, **kwargs):
     self.slug = _slugify(self.__class__, selfname)
     super(Team, self).save(*args, **kwargs)
示例#2
0
 def save(self, *args, **kwargs):
     self.slug = _slugify(self.__class__, self.username)
     super(Player, self).save(*args, **kwargs)