Skip to content

Commit 006c6ab

Browse files
committed
always update slug of collaborative
1 parent 60b001d commit 006c6ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/models/Collaborative.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class Collaborative(models.Model):
5656
platform_url = models.URLField(blank=True, null=True)
5757

5858
def save(self, *args: Any, **kwargs: Any) -> None:
59-
if self.title and not self.slug:
59+
if self.title:
6060
self.slug = slugify(cast(str, self.title))
6161
super().save(*args, **kwargs)
6262

0 commit comments

Comments
 (0)