Changes between Version 4 and Version 5 of PolishLocalflavor
- Timestamp:
- Aug 13, 2008, 5:50:16 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PolishLocalflavor
v4 v5 3 3 == `pl_regions.py` == 4 4 5 The provinces/counties/communes (województwa/powiaty/gminy) lists should be updated from time to time. Fortunately, it can be automated. 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`]. There is Python script - [http://code.djangoproject.com/attachment/wiki/PolishLocalflavor/terc.py terc.py] which exctracts interesting data.5 The provinces/counties/communes (województwa/powiaty/gminy) lists should be updated from time to time. 6 6 7 == related stuff == 7 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]. 8 8 9 - tickets 10 * #8276: change fields' names in `django.contrib.localflavor.pl.forms` 11 * #8273: reduce amount of redundant code in `django.contrib.localflavor` 12 * #8197: add Polish administrative entites 13 * #7741: move `django.newforms` to `django.forms` 14 * #7023: improve validation and add extra attributes to `PLNationalIdentificationNumberField` 15 * #5871: allow `error_messages` to be specified for form types in `localflavor.nl.forms` 16 * #5200: Polish PL Localflavor 17 - changesets 18 * [7689] 19 * [6926] 20 * [6556] 21 * [5940] 22 * [5936] 23 - files 24 * http://code.djangoproject.com/browser/django/trunk/django/contrib/localflavor/pl 9 [http://code.djangoproject.com/attachment/wiki/PolishLocalflavor/terc.py terc.py] exctracts interesting data: 10 {{{ 11 #!sh 12 $ python terc.py <TERC.xml >pl_regions.py 13 }}} 14 15 = history = 16 17 ||'''ticket'''||'''changeset'''|| 18 ||#8276|||| 19 ||#8273|||| 20 ||#8197|||| 21 ||#7741||[7971]|| 22 ||#7316||[7689]|| 23 ||#7023|| 24 ||#5871||[6926]|| 25 || ||[5940]|| 26 ||#5200||[5936]||