mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 08:59:17 +02:00
Fix #142: Increased max_length on TrackFile.source
This commit is contained in:
parent
b27312648c
commit
2be46b3320
3 changed files with 20 additions and 1 deletions
|
@ -412,7 +412,7 @@ class TrackFile(models.Model):
|
|||
track = models.ForeignKey(
|
||||
Track, related_name='files', on_delete=models.CASCADE)
|
||||
audio_file = models.FileField(upload_to='tracks/%Y/%m/%d', max_length=255)
|
||||
source = models.URLField(null=True, blank=True)
|
||||
source = models.URLField(null=True, blank=True, max_length=500)
|
||||
creation_date = models.DateTimeField(default=timezone.now)
|
||||
modification_date = models.DateTimeField(auto_now=True)
|
||||
duration = models.IntegerField(null=True, blank=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue