Opened 10 years ago

Closed 10 years ago

#3890 closed (fixed)

localflavor: Add US Social Security number field

Reported by: James Bennett Owned by: Adrian Holovaty
Component: Forms Version: master
Severity: Keywords: localflavor, US, l10n
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: UI/UX:

Description

Exactly what the title says :)

Attachments (2)

us_ssnfield.diff (2.4 KB) - added by James Bennett 10 years ago.
Patch adding USSocialSecurityNumberField
us_ssnfield2.diff (2.5 KB) - added by James Bennett 10 years ago.
Better patch

Download all attachments as: .zip

Change History (8)

comment:1 Changed 10 years ago by James Bennett

Has patch: set
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

comment:2 Changed 10 years ago by James Bennett

Triage Stage: UnreviewedAccepted

Changed 10 years ago by James Bennett

Attachment: us_ssnfield.diff added

Patch adding USSocialSecurityNumberField

comment:3 Changed 10 years ago by James Bennett

Patch needs improvement: set

Per Adrian on django-dev, this needs to be improved to handle non-hyphenated input and normalize the clean value to be hyphenated.

Changed 10 years ago by James Bennett

Attachment: us_ssnfield2.diff added

Better patch

comment:4 Changed 10 years ago by James Bennett

Second patch allows the hyphen to be omitted, or allows spaces to separate the groups of numbers, and normalizes the clean value to be hyphenated.

comment:5 Changed 10 years ago by Simon G. <dev@…>

Keywords: localflavor US l10n added
Triage Stage: AcceptedReady for checkin

comment:6 Changed 10 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [4910]) Fixed #3890 -- Added USSocialSecurityNumberField. Thanks James Bennet.

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