forked from 0x2620/pandora
add new changelog and call add_changelog all over the place
This commit is contained in:
parent
8ec99ddef7
commit
9e9bf30c42
27 changed files with 365 additions and 44 deletions
|
|
@ -265,11 +265,6 @@ class Annotation(models.Model):
|
|||
del j['id']
|
||||
return j
|
||||
|
||||
def log(self):
|
||||
c = Changelog(type='annotation')
|
||||
c.value = self.json(layer=True)
|
||||
c.save()
|
||||
|
||||
def __unicode__(self):
|
||||
return u"%s %s-%s" %(self.public_id, self.start, self.end)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue