Opened 15 years ago

Closed 12 years ago

Last modified 11 years ago

#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)

cl_localflavor_patch.diff (13.6 KB ) - added by jkunst 15 years ago.

Download all attachments as: .zip

Change History (9)

by jkunst, 15 years ago

Attachment: cl_localflavor_patch.diff added

comment:1 by jkunst, 15 years ago

Component: Uncategorizeddjango.contrib.localflavor
Keywords: chile region comuna provincia added

comment:2 by MarioGonzalez, 15 years ago

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.

comment:3 by MarioGonzalez, 15 years ago

Cc: gonzalemario@… added

comment:4 by Russell Keith-Magee, 15 years ago

Needs tests: set
Triage Stage: UnreviewedAccepted

comment:5 by Julien Phalip, 13 years ago

Severity: Normal
Type: New feature

comment:6 by Alejandro Varas, 13 years ago

Cc: alej0varas@… 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

https://github.com/alej0varas/django_cl_patente

comment:7 by Aymeric Augustin, 12 years ago

Keywords: localflavorsplit added
Resolution: invalid
Status: newclosed

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!

in reply to:  7 comment:8 by German Larrain, 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)

Note: See TracTickets for help on using tickets.
Back to Top