django-countries v4.6 Release Notes

Release Date: 2017-06-16 // almost 7 years ago
    • โž• Add a CountryFieldMixin Django Rest Framework serializer mixin that automatically picks the right field type for a CountryField (both single and multi-choice).

    • Validation for Django Rest Framework field (thanks Simon Meers).

    • ๐Ÿ‘ Allow case-insensitive .by_name() matching (thanks again, Simon).

    • Ensure a multiple-choice CountryField.max_length is enough to hold all countries.

    • ๐Ÿ›  Fix inefficient pickling of countries (thanks Craig de Stigter for the report and tests).

    • Stop adding a blank choice when dealing with a multi-choice CountryField.

    • โœ… Tests now cover multiple Django Rest Framework versions (back to 3.3).