summary, duration
This commit is contained in:
parent
d314ceb7ae
commit
fd26a15db8
3 changed files with 4 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class Film(models.Model):
|
|||
return Text.objects.filter(data__item=self.padma_id)
|
||||
|
||||
def duration(self):
|
||||
return ox.format_timecode(self.data['duration'])[:-4]
|
||||
return ox.format_duration(self.data['duration'] * 1000, verbosity=1, milliseconds=False)
|
||||
|
||||
def color_1(self):
|
||||
hue = self.data['hue']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue