X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f9c19bbcbc514aebcff44b37ca5b92b4a0e181cf..24f9c4d8d1396218a125e4b4bbfce780fa3be243:/src/dvcs/models.py?ds=sidebyside diff --git a/src/dvcs/models.py b/src/dvcs/models.py index ed771c43..978f0720 100644 --- a/src/dvcs/models.py +++ b/src/dvcs/models.py @@ -94,7 +94,7 @@ class Change(models.Model): unique_together = ['tree', 'revision'] def __str__(self): - return u"Id: %r, Tree %r, Parent %r, Data: %s" % (self.id, self.tree_id, self.parent_id, self.data) + return "rev. {} @ {}".format(self.revision, self.created_at) def author_str(self): if self.author: