All Versions
Latest Version
Avg Release Cycle
76 days
Latest Release
835 days ago

Changelog History
Page 3

  • v5.1 Changes

    January 30, 2018
    • โœ… Tests now also cover Django Rest Framework 3.7 and Django 2.0.

    • ๐Ÿ‘ Allow for creating country fields using (valid) alpha-3 or numeric codes.

    • ๐Ÿ›  Fix migration error with blank default (thanks Jens Diemer).

    • โž• Add a {% get_countries %} template tag (thanks Matija ฤŒvrk).

  • v5.0 Changes

    October 10, 2017
    • No longer allow multiple=True and null=True together. This causes problems saving the field, and null shouldn't really be used anyway because the country field is a subclass of CharField.
  • v4.6.2 Changes

    • ๐Ÿ‘‰ Use transparency layer for flag sprites.
  • v4.6.1 Changes

    • ๐Ÿ›  Fix invalid reStructuredText in CHANGES.
  • v4.6 Changes

    June 16, 2017
    • โž• 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).

  • v4.5 Changes

    April 18, 2017
    • ๐Ÿ”„ Change rest framework field to be based on ChoiceField.

    • ๐Ÿ‘ Allow for the rest framework field to deserialize by full country name (specifically the English name for now).

  • v4.4 Changes

    April 06, 2017
    • ๐Ÿ›  Fix for broken CountryField on certain models in Django 1.11. Thanks aktiur for the test case.

    • โšก๏ธ Update tests to cover Django 1.11

  • v4.3 Changes

    March 29, 2017
    • ๐ŸŒ Handle "Czechia" translations in a nicer way (fall back to "Czech Republic" until new translations are available).

    • ๐Ÿ›  Fix for an import error in Django 1.9+ due to use of non-lazy ugettext in the django-countries custom admin filter.

    • โœ… Back to 100% test coverage.

  • v4.2 Changes

    March 10, 2017
    • โž• Add sprite flag files (and Country.flag_css property) to help minimize HTTP requests.
  • v4.1 Changes

    February 22, 2017
    • ๐Ÿ‘ Better default Django admin filter when filtering a country field in a ModelAdmin.

    • ๐Ÿ›  Fix settings to support Django 1.11

    • ๐Ÿ›  Fix when using a model instance with a deferred country field.

    • ๐Ÿ‘ Allow CountryField to handle multiple countries at once!

    • ๐Ÿ‘ Allow CountryField to still work if Deferred.

    • ๐Ÿ›  Fix a field with customized country list. Thanks pilmie!