def _compute_slug(self): for r in self: r.slug = slugify(r.name)
def _compute_match_event_slug(self): for r in self: r.slug = slugify(r.name)