Version 3 (modified by 16 years ago) ( diff ) | ,
---|
django.contrib.localflavor.pl
pl_regions.py
The provinces/counties/communes (województwa/powiaty/gminy) lists should be updated from time to time - they are not constant. Fortunately, it can be automated. Polish Central Statistical Office (Główny Urząd Statystyczny) published an XML file with all necessary data needed to generate pl_regions.py
: `TERC.xml`. There is Python script - terc.py which exctracts interesting data.
related stuff
- tickets
- #8276: change fields' names in
django.contrib.localflavor.pl.forms
- #8273: reduce amount of redundant code in
django.contrib.localflavor
- #8197: add Polish administrative entites
- #7741: move
django.newforms
todjango.forms
- #7023: improve validation and add extra attributes to
PLNationalIdentificationNumberField
- #5871: allow
error_messages
to be specified for form types inlocalflavor.nl.forms
- #5200: Polish PL Localflavor
- #8276: change fields' names in
- changesets
- files
Attachments (1)
-
terc.py
(2.0 KB
) - added by 16 years ago.
+ terc.py
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.