Opened 6 years ago

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


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 6 years ago.
forms, validators and tests for

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by James Rivett-Carnac

Attachment: localflavor-sg.patch added

forms, validators and tests for

comment:1 Changed 6 years ago by James Rivett-Carnac

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

comment:2 Changed 6 years ago by Aymeric Augustin

Keywords: localflavorsplit added
Resolution: invalid
Status: newclosed

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