type moved to Layer

This commit is contained in:
j 2010-12-31 17:33:41 +05:30
parent 7754534347
commit a0db8b77ad

View file

@ -498,7 +498,7 @@ class Item(models.Model):
#FIXME: #FIXME:
#f.dialog = 'fixme' #f.dialog = 'fixme'
save('dialog', '\n'.join([l.value for l in Annotation.objects.filter(type='subtitle', item=self).order_by('start')])) save('dialog', '\n'.join([l.value for l in Annotation.objects.filter(layer__type='subtitle', item=self).order_by('start')]))
#FIXME: collate filenames #FIXME: collate filenames
#f.filename = self.filename #f.filename = self.filename