Package: django-countries / 1.2-1

Metadata

Package Version Patches format
django-countries 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 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 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.
use_iso_codes_package.patch | (download)

django_countries/countries.py | 32 32 + 0 - 0 !
django_countries/settings.py | 7 7 + 0 - 0 !
setup.py | 1 0 + 1 - 0 !
3 files changed, 39 insertions(+), 1 deletion(-)

 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.