Opened 6 years ago

Closed 4 years ago

#13733 closed New feature (invalid)

New Zealand localflavor

Reported by: 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


There should be some localflavor for New Zealanders!

Attachments (1)

nz-localflavor.diff (8.9 KB) - added by schinckel 6 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 6 years ago by schinckel

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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.

Changed 6 years ago by schinckel

comment:2 Changed 6 years ago by russellm

  • Component changed from Contrib apps to django.contrib.localflavor
  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 6 years ago by SmileyChris

  • Patch needs improvement set
  • Version 1.2 deleted

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

comment:4 Changed 5 years ago by julien

  • Severity set to Normal
  • Type set to New feature

Tests also need to be updated to use unittest.

comment:5 Changed 5 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:6 Changed 5 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

comment:7 Changed 4 years ago by schinckel

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

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

comment:8 Changed 4 years ago by aaugustin

  • Keywords localflavorsplit added
  • Resolution set to invalid
  • Status changed from new to closed

django.contrib.localflavor is now deprecated (see

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