Opened 15 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)
Change History (9)
comment:1 by , 15 years ago
Has patch: | set |
---|
by , 15 years ago
Attachment: | nz-localflavor.diff added |
---|
comment:2 by , 15 years ago
Component: | Contrib apps → django.contrib.localflavor |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 14 years ago
Patch needs improvement: | set |
---|---|
Version: | 1.2 |
NZ's regions would be more of an appropriate regional separation.
comment:4 by , 14 years ago
Severity: | → Normal |
---|---|
Type: | → New feature |
Tests also need to be updated to use unittest.
comment:7 by , 13 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 , 12 years ago
Keywords: | localflavorsplit added |
---|---|
Resolution: | → invalid |
Status: | new → closed |
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!
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.