add basic changelog api

This commit is contained in:
j 2014-12-16 13:44:27 +00:00
commit 2f154aa610
2 changed files with 94 additions and 1 deletions

View file

@ -11,3 +11,6 @@ class Changelog(models.Model):
def __unicode__(self):
return u'%s %s' %(self.type, self.created)
def json(self):
return self.value