Changelog History
Page 1
-
v7.3.2 Changes
March 04, 2022- ๐ Fix slowdown introduced in v7.3 caused by always using country name lookups
for field comparisons.
filter(country="New Zealand")
will no longer match now, but instead new__name
and__iname
filters have been added to achieve this.
- ๐ Fix slowdown introduced in v7.3 caused by always using country name lookups
for field comparisons.
-
v7.3.1 Changes
March 01, 2022- ๐ Typing compatibility fixes for Python <3.9.
-
v7.3 Changes
February 28, 2022- ๐ Make full English country names work in database lookups, for example,
Person.objects.filter(country__icontains="zealand")
.
- ๐ Make full English country names work in database lookups, for example,
-
v7.2.1 Changes
May 11, 2021- ๐ Fix Latin translations.
-
v7.2 Changes
May 10, 2021๐ Allow the character field to work with custom country codes that are not 2 characters (such as "GB-WLS").
๐ Fix compatibility with
django-migrations-ignore-attrs
library.
-
v7.1 Changes
March 17, 2021๐ Allow customising the
str_attr
of Country objects returned from a CountryField via a newcountries_str_attr
keyword argument (thanks C. Quentin).โ Add
pyuca
as an extra dependency, so that it can be installed likepip install django-countries[pyuca]
.โ Add Django 3.2 support.
-
v7.0 Changes
December 05, 2020โ Add
name_only
as an option to the Django Rest Framework serializer field (thanks Miguel Marques).โ Add in Python typing.
โ Add Python 3.9, Django 3.1, and Django Rest Framework 3.12 support.
โฌ๏ธ Drop Python 3.5 support.
๐ Improve IOC code functionality, allowing them to be overridden in
COUNTRIES_OVERRIDE
using the complex dictionary format.
-
v6.1.3 Changes
August 18, 2020โก๏ธ Update flag of Mauritania.
โ Add flag for Kosovo (under its temporary code of XK).
-
v6.1.2 Changes
March 26, 2020- ๐ Fix Python 3.5 syntax error (no f-strings just yet...).
-
v6.1.1 Changes
March 26, 2020- ๐ Change ISO country import so that "Falkland Islands [Malvinas]" => "Falkland Islands (Malvinas)".