Opened 6 years ago

Closed 3 years ago

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

Download all attachments as: .zip

Change History (9)

Changed 6 years ago by jkunst

comment:1 Changed 6 years ago by jkunst

  • Component changed from Uncategorized to django.contrib.localflavor
  • Keywords chile region comuna provincia added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 6 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 6 years ago by MarioGonzalez

  • Cc gonzalemario@… added

comment:4 Changed 5 years ago by russellm

  • Needs tests set
  • Triage Stage changed from Unreviewed to Accepted

comment:5 Changed 4 years ago by julien

  • Severity set to Normal
  • Type set to New feature

comment:6 Changed 4 years ago by alej0

  • 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 follow-up: Changed 3 years ago by aaugustin

  • Keywords localflavorsplit added
  • Resolution set to invalid
  • Status changed from new to 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 in reply to: ↑ 7 Changed 2 years ago by glarrain

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