Package: django-countries / 7.6.1-2
Metadata
| Package | Version | Patches format |
|---|---|---|
| django-countries | 7.6.1-2 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| 0001 dont_include_flag_icons.patch | (download) |
setup.cfg |
2 1 + 1 - 0 ! |
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 |
1105 529 + 576 - 0 ! |
don't use the shipped static lists for the country-codes Debian already provides the necessary data as part of its iso-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 Fix tests to work with local XML data from iso codes.patch | (download) |
django_countries/tests/test_countries.py |
6 4 + 2 - 0 ! |
fix tests to work with local xml data from iso-codes package. |
| 0004 Skip graphene tests if package is not available.patch | (download) |
django_countries/tests/graphql/__init__.py |
5 5 + 0 - 0 ! |
skip graphene tests if package is not available. |
1
