Django-countries-with-calling-codes

Latest version: v0.1.1

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

Scan your dependencies

Page 5 of 6

3.1

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

* Start change log :)

* Add a ``COUNTRIES_FIRST`` setting (and some other related ones) to allow for
specific countries to be shown before the entire alphanumeric list.

* Add a ``blank_label`` argument to ``CountryField`` to allow customization of
the label shown in the initial blank choice shown in the select widget.

3.0.2

-------------------

* Fix ``CountrySelectWidget`` failing when used with a model form that is
passed a model instance.

3.0.1

-------------------

* Revert descriptor to always return a Country object.

* Fix the ``CountryField`` widget choices appearing empty due to a translation
change in v3.0.

3.0

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

Django supported versions are now 1.4 (LTS) and 1.6+

* Add ``COUNTRIES_ONLY`` setting to restrict to a specific list of countries.

* Optimize country name translations to avoid exessive translation calls that
were causing a notable performance impact.

* PyUCA integration, allowing for more accurate sorting across all locales.
Also, a better sorting method when PyUCA isn't installed.

* Better tests (now at 100% test coverage).

* Add a ``COUNTRIES_FLAG_URL`` setting to allow custom flag urls.

* Support both IOC and numeric country codes, allowing more flexible lookup of
countries and specific code types.

* Field descriptor now returns ``None`` if no country matches (*reverted in
v3.0.1*)

2.1.2

-------------------

* Fix Python 3 compatibility.

2.1.1

-------------------

* Fix issue with translations getting evaluated early.

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.