Commit e5a1f138 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Merge branch 'list-alias-str' into 'master'

Add ListAlias.__str__

See merge request !1019
parents 789a496f 77c2bf2a
......@@ -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