fix char limit
This commit is contained in:
@@ -91,7 +91,7 @@ class Task(models.Model):
|
|||||||
|
|
||||||
def clean(self):
|
def clean(self):
|
||||||
if not self.shortterm:
|
if not self.shortterm:
|
||||||
self.shortterm = slugify(self.title[:20])
|
self.shortterm = slugify(self.title[:25])
|
||||||
self.slug = slugify(self.shortterm)
|
self.slug = slugify(self.shortterm)
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
def save(self, *args, **kwargs):
|
||||||
|
|||||||
Reference in New Issue
Block a user