forked from 0x2620/pandora
one more index
This commit is contained in:
parent
c6f11433f9
commit
600191f43f
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