Commit f01d8235 authored by Thom Wiggers's avatar Thom Wiggers Committed by Sébastiaan Versteeg

Merge branch 'fix/mailinglists' into 'master'

Fix committeemembership reference in mailinglists

See merge request !991

(cherry picked from commit e577035a)

7be94d34 Fix committeemembership reference in mailinglists
parent 80bef0b7
......@@ -72,7 +72,7 @@ class MailingList(models.Model):
for group in self.member_groups.all().prefetch_related("members"):
for member in group.members.exclude(
committeemembership__until__lt=timezone.now().date()):
membergroupmembership__until__lt=timezone.now().date()):
yield member.email
for verbatimaddress in self.addresses.all():
......
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