Commit 7ac5d2ba authored by Laurent Peuch's avatar Laurent Peuch
Browse files

[enh] ImportReport.__unicode__

parent 0f17a160
......@@ -26,3 +26,6 @@ class Movement(models.Model):
class ImportReport(models.Model):
content = models.TextField()
created_on = models.DateTimeField(auto_now_add=True)
def __unicode__(self):
return u"Import report runned at %s" % (self.created_on.strftime("%F %X"))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment