#11762 closed New feature (invalid)
Chilean localflavor - Regions, Provinces and Comunas
Reported by: | jkunst | Owned by: | nobody |
---|---|---|---|
Component: | contrib.localflavor | Version: | 1.1 |
Severity: | Normal | Keywords: | chile, region, comuna, provincia, localflavorsplit |
Cc: | gonzalemario@…, alej0varas@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | yes | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The list of Chilean regions, provinces and "comunas" with its codes as choices in a formfield. This patch contains: CLProvinciaSelect
and CLComunaSelect
.
Unique Territorial Code REGION-PROVINCIA-COMUNA
sources: http://www.subdere.gov.cl/1510/article-73110.html http://www.subdere.gov.cl/1510/articles-73110_recurso_1.pdf
Attachments (1)
Change History (9)
by , 15 years ago
Attachment: | cl_localflavor_patch.diff added |
---|
comment:1 by , 15 years ago
Component: | Uncategorized → django.contrib.localflavor |
---|---|
Keywords: | chile region comuna provincia added |
comment:2 by , 15 years ago
comment:3 by , 15 years ago
Cc: | added |
---|
comment:4 by , 15 years ago
Needs tests: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:5 by , 14 years ago
Severity: | → Normal |
---|---|
Type: | → New feature |
comment:6 by , 13 years ago
Cc: | added |
---|---|
Easy pickings: | unset |
UI/UX: | unset |
I've just created this project so we can collaborate over localflavor CL code while we wait to be accepted into Django.
https://github.com/witoi/django-cl
I've also created this other project previously, I'll merge them to get all the code in one place
follow-up: 8 comment:7 by , 12 years ago
Keywords: | localflavorsplit added |
---|---|
Resolution: | → invalid |
Status: | new → closed |
django.contrib.localflavor
is now deprecated — see https://docs.djangoproject.com/en/dev/ref/contrib/localflavor/
A repository was created for each localflavor at https://github.com/django/django-localflavor-? (Replace with the country code.)
If you're still interested in this ticket, could you create a pull request on that repository?
Sorry for not resolving this issue earlier, and thanks for your input!
comment:8 by , 11 years ago
Replying to aaugustin:
django.contrib.localflavor
is now deprecated — see https://docs.djangoproject.com/en/dev/ref/contrib/localflavor/
A repository was created for each localflavor at https://github.com/django/django-localflavor-? (Replace with the country code.)
If you're still interested in this ticket, could you create a pull request on that repository?
Sorry for not resolving this issue earlier, and thanks for your input!
The correct link is https://docs.djangoproject.com/en/1.5/ref/contrib/localflavor/#deprecation-policy (the abovementioned was too general and returns a 404)
Hi jkunst,
you've done a great idea. I've read the patch carefully but I haven't tested it already, however AFAIK when someone import from CLComunaSelect will have every "comunas" names right? If so, is there a way to pair up "comunas" and "regiones"? What do you think?
Regards.