Verified Commit 3a1c2015 authored by Joost Rijneveld's avatar Joost Rijneveld Committed by Sébastiaan Versteeg
Browse files

Properly gather verbatim mailinglist addresses

Previously the output of this function was a mixed list of strings
and VerbatimAddress objects. It worked because those had a __str__,
but in the new API they must be literal strings.
parent 5f4560b3
......@@ -63,8 +63,8 @@ class MailingList(models.Model):
for address in self.addresses.all():
yield address
for verbatimaddress in self.addresses.all():
yield verbatimaddress.address
def clean(self):
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