def save(self, *args, **kwargs): if not self.id or not self.slug: self.slug = slugify(unidecode(self.title)) super().save(*args, **kwargs)