After some study of the iso_3166 lists, i came to the conclusion that the 3166-2 can't be used to filter the list of countries. This alternate list don't use the same codes and names for the territories, and don't have all the countries in it.
The only way we can filter this list if we really want to, is adding exceptions directly in the /loco_directory/teams/management/commands /update-countries.py script I recommend to put this bug in Won't Fix status for now. Perhaps we can take another approch and add a "related countries" field on teams, or define a "Default Country". In this case we can display something like " Location : Country (+) " . The + opening an extended list of additionnal countries related to the team. This approach can be used too if we extend LocoDirectory to online events. -- Some countries have more than one territory https://bugs.launchpad.net/bugs/602438 You received this bug notification because you are a member of loco- directory-dev, which is the registrant for loco-directory. Status in LoCo Directory: New Bug description: The country list is defined by the iso_3166 codes. This list are geographical codes that represents countries and territories. But some countries are composed with more than one territory. For example, France (FR) is composed also with Guyane (GF), Guadeloupe (GP), Martinique (MQ), La Réunion (RE) for the overseas departments and some other overseas collectivities. We have perhap's to refine this list of countries by using also the country subdivisions in the ISO 3166-2 standard ( /usr/share/xml/iso-codes/iso_3166_2.xml ) _______________________________________________ Mailing list: https://launchpad.net/~loco-directory-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~loco-directory-dev More help : https://help.launchpad.net/ListHelp

