feat: enable editing of media slug, show categories on manage media

This commit is contained in:
Markos Gogoulos
2025-06-24 11:13:33 +03:00
committed by GitHub
parent a5acce4ab1
commit 83f3eec940
14 changed files with 85 additions and 9 deletions

View File

@@ -155,7 +155,7 @@ class Media(models.Model):
help_text="Whether media is globally featured by a MediaCMS editor",
)
friendly_token = models.CharField(blank=True, max_length=12, db_index=True, help_text="Identifier for the Media")
friendly_token = models.CharField(blank=True, max_length=150, db_index=True, unique=True, help_text="Identifier for the Media")
hls_file = models.CharField(max_length=1000, blank=True, help_text="Path to HLS file for videos")