forked from 0x2620/pandora
fix upload name
This commit is contained in:
parent
ea919c2bc7
commit
0cc24d09c9
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ class Stream(models.Model):
|
||||||
resolution = models.IntegerField(default=96)
|
resolution = models.IntegerField(default=96)
|
||||||
format = models.CharField(max_length=255, default='webm')
|
format = models.CharField(max_length=255, default='webm')
|
||||||
|
|
||||||
video = models.FileField(default=None, blank=True, upload_to=lambda f, x: f.path())
|
video = models.FileField(default=None, blank=True, upload_to=lambda f, x: f.path(x))
|
||||||
source = models.ForeignKey('Stream', related_name='derivatives', default=None, null=True)
|
source = models.ForeignKey('Stream', related_name='derivatives', default=None, null=True)
|
||||||
available = models.BooleanField(default=False)
|
available = models.BooleanField(default=False)
|
||||||
info = fields.DictField(default={})
|
info = fields.DictField(default={})
|
||||||
|
|
Loading…
Reference in a new issue