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)

my_localflavor.diff (21.3 KB ) - added by Zaim Bakar 15 years ago.
Malaysia localflavor patch

Download all attachments as: .zip

Change History (8)

by Zaim Bakar, 15 years ago

Attachment: my_localflavor.diff added

Malaysia localflavor patch

comment:1 by Zaim Bakar, 15 years ago

Needs tests: set

Need tests for model fields.

comment:2 by Alex Gaynor, 15 years ago

Triage Stage: UnreviewedAccepted

in reply to:  description comment:3 by Jannis Leidel, 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 Russell Keith-Magee, 15 years ago

milestone: 1.2
Version: SVN

comment:5 by Julien Phalip, 14 years ago

Severity: Normal
Type: New feature

comment:6 by Jannis Leidel, 13 years ago

Easy pickings: unset
Patch needs improvement: set
UI/UX: unset

This needs to be update to unittests.

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