Sound.file max length

This commit is contained in:
bkfox 2022-03-22 12:59:38 +01:00
parent ec59092d34
commit 66f02bdb05

View File

@ -103,7 +103,7 @@ class Sound(models.Model):
return os.path.join(self.program.path, subdir, filename)
file = models.FileField(
_('file'), upload_to=_upload_to
_('file'), upload_to=_upload_to, max_length=256,
)
duration = models.TimeField(
_('duration'),