Opened 12 years ago

Closed 12 years ago

#19037 closed New feature (invalid)

Add Singapore (SG) local flavour

Reported by: James Rivett-Carnac Owned by: James Rivett-Carnac
Component: contrib.localflavor Version: 1.4
Severity: Normal Keywords: localflavorsplit
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Add local flavour for SG phone numbers, postal codes, NRIC numbers and FIN numbers.

Attachments (1)

localflavor-sg.patch (8.6 KB ) - added by James Rivett-Carnac 12 years ago.
forms, validators and tests for localflavor.sg

Download all attachments as: .zip

Change History (3)

by James Rivett-Carnac, 12 years ago

Attachment: localflavor-sg.patch added

forms, validators and tests for localflavor.sg

comment:1 by James Rivett-Carnac, 12 years ago

I've attached a patch which adds fields for NRIC and FIN numbers, Mobile phones, other phones, and postal codes. tests included.

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