Opened 15 years ago
Closed 12 years ago
#11626 closed New feature (invalid)
Add Malaysian (my) localflavour
Reported by: | Zaim Bakar | Owned by: | nobody |
---|---|---|---|
Component: | contrib.localflavor | Version: | |
Severity: | Normal | Keywords: | localflavor, malaysia, my, localflavorsplit |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | yes | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Description
Patch to add Malaysian localflavor. Contains form and model fields for Malaysian Identification Number, postcode, phone number and states.
Only tests for form fields are included (help: not sure where to put model field tests for localflavors).
Attachments (1)
Change History (8)
by , 15 years ago
Attachment: | my_localflavor.diff added |
---|
comment:2 by , 15 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 15 years ago
milestone: | → 1.2 |
---|
Replying to zaim:
Only tests for form fields are included (help: not sure where to put model field tests for localflavors).
You can put model field tests in source:django/trunk/tests/regressiontests/localflavor where the model fields of the US localflavor are being tested already.
comment:4 by , 15 years ago
milestone: | 1.2 |
---|---|
Version: | SVN |
comment:5 by , 14 years ago
Severity: | → Normal |
---|---|
Type: | → New feature |
comment:6 by , 13 years ago
Easy pickings: | unset |
---|---|
Patch needs improvement: | set |
UI/UX: | unset |
This needs to be update to unittests.
comment:7 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!
Malaysia localflavor patch