Opened 3 years ago

Closed 3 years ago

#19037 closed New feature (invalid)

Add Singapore (SG) local flavour

Reported by: yarbelk Owned by: yarbelk
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 yarbelk 3 years ago.
forms, validators and tests for localflavor.sg

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by yarbelk

forms, validators and tests for localflavor.sg

comment:1 Changed 3 years ago by yarbelk

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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 3 years ago by aaugustin

  • Keywords localflavorsplit added
  • Resolution set to invalid
  • Status changed from new to 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!

Note: See TracTickets for help on using tickets.
Back to Top