forked from 0x2620/pandora
merge
This commit is contained in:
commit
c5809545e6
1 changed files with 2 additions and 3 deletions
|
@ -27,12 +27,11 @@ class Clip(models.Model):
|
||||||
item = models.ForeignKey('item.Item', related_name='clips')
|
item = models.ForeignKey('item.Item', related_name='clips')
|
||||||
|
|
||||||
#seconds
|
#seconds
|
||||||
start = models.FloatField(default=-1)
|
start = models.FloatField(default=-1, db_index=True)
|
||||||
end = models.FloatField(default=-1)
|
end = models.FloatField(default=-1)
|
||||||
duration = models.FloatField(default=0)
|
duration = models.FloatField(default=0, db_index=True)
|
||||||
|
|
||||||
#get from annotation
|
#get from annotation
|
||||||
duration = models.FloatField(default=0, db_index=True)
|
|
||||||
hue = models.FloatField(default=0, db_index=True)
|
hue = models.FloatField(default=0, db_index=True)
|
||||||
saturation = models.FloatField(default=0, db_index=True)
|
saturation = models.FloatField(default=0, db_index=True)
|
||||||
lightness = models.FloatField(default=0, db_index=True)
|
lightness = models.FloatField(default=0, db_index=True)
|
||||||
|
|
Loading…
Reference in a new issue