James CookeJames Cooke

Django-mailchimp compatability with v1.3 API

For a Fublo project with Neuxpower, we had to communicate with Mailchimp via their API. On Django one of the best libraries for this is django-mailchimp.

However, in its previous state django-mailchimp wasn’t able to specify a send_welcome parameter which lets Mailchimp know whether it should send out a list welcome message when a new user subscribes. For the project, we were managing the signup explicitly with Neuxpower’s code, so no welcome message was required and the default for Mailchimp was True for sending meaning that Neuxpower’s new customers would get hit with a double welcome message… Not desirable.

This small change is now merged in with the library, which has rolled up to a ‘v1.3’ status as there is no backward compatibility.

  • Django Factory Audit

    Exploring the various model instance factories available for Django. Each factory is tested based on the quality of the instances it creates. Bonus: talk version and slides also available.

  • Django’s model save vs full_clean

    Confirming that Django can screw up your data when saving, and exploring why this is still the case.

  • Fixing exception in django-menu

    A tiny pull request to stop django-menu from throwing exceptions on new unconfigured sites.