Django-countries

Latest version: v7.6.1

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

Scan your dependencies

Page 3 of 10

7.2.1

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

- Fix Latin translations.

7.2

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

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

7.1

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

- Allow customising the ``str_attr`` of Country objects returned from a
CountryField via a new ``countries_str_attr`` keyword argument (thanks C.
Quentin).

- Add ``pyuca`` as an extra dependency, so that it can be installed like
``pip install django-countries[pyuca]``.

- Add Django 3.2 support.

7.0

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

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

6.1.3

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

- Update flag of Mauritania.

- Add flag for Kosovo (under its temporary code of XK).

6.1.2

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

- Fix Python 3.5 syntax error (no f-strings just yet...).

Page 3 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.