Version 5 (modified by Piotr Lewandowski <django@…>, 16 years ago) ( diff )

refactor

django.contrib.localflavor.pl

pl_regions.py

The provinces/counties/communes (województwa/powiaty/gminy) lists should be updated from time to time.

Polish Central Statistical Office (Główny Urząd Statystyczny) has published the XML file with all necessary data needed to generate pl_regions.py: TERC.xml.

terc.py exctracts interesting data:

$ python terc.py <TERC.xml >pl_regions.py

history

ticketchangeset
#8276
#8273
#8197
#7741[7971]
#7316[7689]
#7023
#5871[6926]
[5940]
#5200[5936]

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.
Back to Top