Sound.file max length
This commit is contained in:
parent
ec59092d34
commit
66f02bdb05
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue
Block a user