Commits

Luke Plant committed 3ab7c56

Respect 'include_on_email_lists' in email list creation code

  • Participants
  • Parent commits ac909ff

Comments (0)

Files changed (1)

File contacts/lists.py

 
     for hg in HomeGroup.objects.exclude(group_email=''):
         if hg.group_email != '':
-            email_list = list(set([c.email for c in hg.contact_set.exclude(email='')]))
+            email_list = list(set([c.email for c in hg.contact_set.exclude(email='',
+                                                                           include_on_email_lists=False)]))
             email_list_s = ', '.join(email_list)
             if hg.group_email in webfaction_email_list:
                 # Update: