Unverified Commit 77c2bf2a authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Add ListAlias.__str__

parent 789a496f
......@@ -146,6 +146,11 @@ class ListAlias(models.Model):
}
})
def __str__(self):
return (_("List alias {alias} for {list}")
.format(alias=self.alias,
list=self.mailinglist.name))
class Meta:
verbose_name = _("List alias")
verbose_name_plural = _("List aliasses")
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