publicid can be null
This commit is contained in:
parent
2543fa4f78
commit
743a01181c
2 changed files with 3 additions and 2 deletions
|
|
@ -123,7 +123,8 @@ class Annotation(models.Model):
|
|||
start=self.start,
|
||||
end=self.end)
|
||||
if created:
|
||||
self.clip.save()
|
||||
clip = Clip.objects.get(pk=self.clip.pk)
|
||||
clip.save()
|
||||
|
||||
super(Annotation, self).save(*args, **kwargs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue