Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

lino_xl.lib.countries.fixtures.all_countries

This fixture adds all known countries of the world to your database.

Unlike the official ISO 3133 it features more languages, and it creates also codes for countries that no longer exist. It is not official at all. See also GPDN - General Public Database Network.

The countries.xml is an unmodified copy of http://users.pandora.be/bosteels/countries.xml

TODO: Estonian names. Maybe from https://et.wikipedia.org/wiki/ISO_maakoodide_loend

TABLE2 contains 4-letter codes for countries that no longer exist. This is mostly based on <http://www.davros.org/misc/iso3166.html>, but one country (DEDE) was added.

The lino_xl.lib.statbel.countries.fixtures.inscodes fixture, extends this data by attaching Belgian INS codes to these countries.

Functions

objects()