Updated the title splicing length to 100 in playlist, category and media models (#1364)

This commit is contained in:
Meet Dholakia
2025-09-02 22:13:46 +05:30
committed by GitHub
parent e33aa17911
commit 6cee02085c
3 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ class Playlist(models.Model):
strip_text_items = ["title", "description"]
for item in strip_text_items:
setattr(self, item, strip_tags(getattr(self, item, None)))
self.title = self.title[:99]
self.title = self.title[:100]
if not self.friendly_token:
while True: