2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +00:00

Add ordering to the data issues model

This commit is contained in:
Sam Wenham 2019-04-18 19:01:29 +01:00
parent f1736c53c4
commit dc479b33c5

View File

@ -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)