def slug(self, name): self._slug = slugify(name, prefix=False)
def slug(self, title): self._slug = slugify(self.created_at or self.updated_at, title)