Code


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

+ ticket #8515

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
#8515
#8276[8345]
#8273
#8197
#7741[7971]
#7316[7689]
#7023
#5871[6926]
[5940]
#5200[5936]

Attachments (1)

Download all attachments as: .zip