mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-21 13:57:57 -05:00
Updated the title splicing length to 100 in playlist, category and media models (#1364)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user