diff --git a/core/models.py b/core/models.py index 195d38f..223d447 100644 --- a/core/models.py +++ b/core/models.py @@ -876,5 +876,8 @@ class DataIssue(TroggleModel): parser = models.CharField(max_length=50, blank=True, null=True) message = models.CharField(max_length=400, blank=True, null=True) + class Meta: + ordering = ['date'] + def __unicode__(self): return u"%s - %s" % (self.parser, self.message)