Fix mailing_lists synchronize
The mailing lists member sync was too elementary to be used on production properly. This was for example due to the single calls to MailChimp for each seperate Contributor. Now during sync, only updates are called to MailChimp, not *all* contributors. Also, the batch operation is used instead of seperate calls. Further, some query tweaks were used that expect database calls to improve significant.
Showing
- mailing_lists/forms.py 1 addition, 4 deletionsmailing_lists/forms.py
- mailing_lists/migrations/0005_mailchimplist_subscriber_count.py 20 additions, 0 deletions...g_lists/migrations/0005_mailchimplist_subscriber_count.py
- mailing_lists/models.py 72 additions, 12 deletionsmailing_lists/models.py
- mailing_lists/templates/mailing_lists/mailchimplist_form.html 1 addition, 1 deletion...ing_lists/templates/mailing_lists/mailchimplist_form.html
- mailing_lists/views.py 9 additions, 2 deletionsmailing_lists/views.py
- submissions/migrations/0045_auto_20170607_2324.py 20 additions, 0 deletionssubmissions/migrations/0045_auto_20170607_2324.py
Loading
Please register or sign in to comment