= [http://code.djangoproject.com/browser/django/trunk/django/contrib/localflavor/pl django.contrib.localflavor.pl] = == `pl_regions.py` == The provinces/counties/communes (województwa/powiaty/gminy) lists should be updated from time to time. Polish [http://www.stat.gov.pl/gus/index_ENG_HTML.htm Central Statistical Office] ([http://www.stat.gov.pl/ Główny Urząd Statystyczny]) has published the XML file with all necessary data needed to generate `pl_regions.py`: [http://www.stat.gov.pl/broker/access/prefile/downloadPreFile.jspa?id=68 TERC.xml]. [http://code.djangoproject.com/attachment/wiki/PolishLocalflavor/terc.py terc.py] exctracts interesting data: {{{ #!sh $ python terc.py pl_regions.py }}} = history = ||'''ticket'''||'''changeset'''|| ||#8515|||| ||#8276||[8345]|| ||#8273|||| ||#8197|||| ||#7741||[7971]|| ||#7316||[7689]|| ||#7023|| ||#5871||[6926]|| || ||[5940]|| ||#5200||[5936]||