fix upload name
This commit is contained in:
parent
926d6793e2
commit
0e6b51a4bb
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