Package: django-countries / 3.4.1-2.1

Metadata

Package Version Patches format
django-countries 3.4.1-2.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
dont_include_flag_icons.patch | (download)

setup.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 don't install the included flag icons

 Debian already provides appropriate flag icons with the packages
 famfamfam-flag-(png|gif). Therefore ignore the images shipped by upstream.
0002 Don t use the shipped static lists for the country c.patch | (download)

django_countries/data.py | 1040 535 + 505 - 0 !
django_countries/tests/test_countries.py | 9 8 + 1 - 0 !
django_countries/tests/test_fields.py | 5 3 + 2 - 0 !
3 files changed, 546 insertions(+), 508 deletions(-)

 don't use the shipped static lists for the country-codes

Debian already provides the necessary data as part of its ico-codes package.
This patch changes the upstream behaviour to gather the data at runtime by
parsing the XML files shipped with the iso-codes package.
Translations for the countries names are also taken from iso-codes by using
the symlinked .mo files with Django's lazy translation.
Sorting function by Jakub Wilk.

0003 Django 1.10 define TEMPLATES.patch | (download)

django_countries/tests/settings.py | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 django 1.10: define templates []