Django-countries

Latest version: v7.6.1

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

Scan your dependencies

Page 5 of 10

5.3.2

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

- Tests for Django 2.1 and Django Rest Framework 3.8.

5.3.1

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

- Fix ``dumpdata`` and ``loaddata`` for ``CountryField(multiple=True)``.

5.3

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

- Iterating a ``Countries`` object now returns named tuples. This makes things
nicer when using ``{% get_countries %}`` or using the country list elsewhere
in your code.

5.2

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

- Ensure Django 2.1 compatibility for ``CountrySelectWidget``.

- Fix regression introduced into 5.1 when using Django 1.8 and certain queryset
lookup types (like ``__in``).

5.1.1

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

- Fix some translations that were included in 5.1 but not compiled.

5.1

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

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

Page 5 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.