Django-countries

Latest version: v7.6.1

Safety actively analyzes 710445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 10

7.4.2

=======================

- Fix error when using ``USE_I18N = False``.

7.4.1

======================

- Fix broken translations due to last common country names fix.

7.4

====================

- Fixed Traditional Chinese translation (needed to be ``locale/zh_Hant``).

- Update flag of Honduras.

- Add Django 4.0 and 4.1 to the test matrix, dropping 3.0 and 3.1

- Add Django Rest Framework 3.13 and 3.14, dropping 3.11.

- Multi-choice countries are now stored sorted and with duplicates stripped.
Thanks flbraun and Jens Diemer!

- Fix common country names not being honoured in non-English translations (only
fixed for Python 3.8+).

7.3.2

====================

- 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.

7.3.1

====================

- Typing compatibility fixes for Python <3.9.

7.3

======================

- Make full English country names work in database lookups, for example,
``Person.objects.filter(country__icontains="zealand")``.

Page 2 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.