Opened 7 years ago

Closed 4 years ago

Last modified 3 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 7 years ago.

Download all attachments as: .zip

Change History (9)

Changed 7 years ago by jkunst

Attachment: cl_localflavor_patch.diff added

comment:1 Changed 7 years ago by jkunst

Component: Uncategorizeddjango.contrib.localflavor
Keywords: chile region comuna provincia added
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

comment:2 Changed 7 years ago by MarioGonzalez

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 Changed 7 years ago by MarioGonzalez

Cc: gonzalemario@… added

comment:4 Changed 7 years ago by Russell Keith-Magee

Needs tests: set
Triage Stage: UnreviewedAccepted

comment:5 Changed 5 years ago by Julien Phalip

Severity: Normal
Type: New feature

comment:6 Changed 5 years ago by Alejandro Varas

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 Changed 4 years ago by Aymeric Augustin

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!

comment:8 in reply to:  7 Changed 3 years ago by German Larrain

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