]> git.parisson.com Git - teleforma.git/commitdiff
allow blank track
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Sun, 17 Aug 2025 05:52:20 +0000 (07:52 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Sun, 17 Aug 2025 05:52:20 +0000 (07:52 +0200)
teleforma/models/core.py

index e21a87bd1309667cde747c219fc7cc3121e35e65..9d0620a73caced5f50c7ab8b291891b51db1dbef 100644 (file)
@@ -999,7 +999,7 @@ class Media(MediaBase):
         upload_to='items/%Y/%m/%d',
         max_length=1024,
         null=True,
-        blank=False)
+        blank=True)
 
     def set_mime_type(self):
         if self.file: