Opened 14 years ago

Closed 12 years ago

#13733 closed New feature (invalid)

New Zealand localflavor

Reported by: Matthew Schinckel Owned by: nobody
Component: contrib.localflavor Version:
Severity: Normal Keywords: localflavorsplit
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

There should be some localflavor for New Zealanders!

Attachments (1)

nz-localflavor.diff (8.9 KB ) - added by Matthew Schinckel 14 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by Matthew Schinckel, 14 years ago

Has patch: set

I have a patch which does phone and postcode validation, and provides a Provincial District select widget.

I understand that this is not used as a level of government anymore, but my use-case was to do with Public Holidays, and I believe that this is how public holidays are grouped over there.

More than happy to have other input - there are several other kinds of regional organisation which can be applied.

by Matthew Schinckel, 14 years ago

Attachment: nz-localflavor.diff added

comment:2 by Russell Keith-Magee, 14 years ago

Component: Contrib appsdjango.contrib.localflavor
Triage Stage: UnreviewedAccepted

comment:3 by Chris Beaven, 14 years ago

Patch needs improvement: set
Version: 1.2

NZ's regions would be more of an appropriate regional separation.

comment:4 by Julien Phalip, 14 years ago

Severity: Normal
Type: New feature

Tests also need to be updated to use unittest.

comment:5 by Aymeric Augustin, 13 years ago

UI/UX: unset

Change UI/UX from NULL to False.

comment:6 by Aymeric Augustin, 13 years ago

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:7 by Matthew Schinckel, 12 years ago

I believe it is possible to have two kinds of groupings: such as with 'nations' and 'regions' in django.contrib.localflavor.gb

As provinces are still used for provincial public holidays, of which there is one per province per year.

comment:8 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/).

If you'd like, I encourage you to create a django-localflavor- (where is your country code), following the template of all the other django-localflavor- packages. See http://github.com/django for the list.

Once that's done, we can link to it from the documentation.

Thanks for your understanding!

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