Commit 64c5d6cf authored by Michal Čihař's avatar Michal Čihař

Add unicode method to check

parent 8fcd8551
......@@ -670,6 +670,13 @@ class Check(models.Model):
('ignore_check', "Can ignore check results"),
)
def __unicode__(self):
return '%s/%s: %s' % (
self.project,
self.language,
self.check,
)
def get_description(self):
return trans.checks.CHECKS[self.check][2]
......
Markdown is supported
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