Opened 18 years ago

Closed 18 years ago

#3890 closed (fixed)

localflavor: Add US Social Security number field

Reported by: James Bennett Owned by: Adrian Holovaty
Component: Forms Version: dev
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: no UI/UX: no

Description

Exactly what the title says :)

Attachments (2)

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

Download all attachments as: .zip

Change History (8)

comment:1 by James Bennett, 18 years ago

Has patch: set

comment:2 by James Bennett, 18 years ago

Triage Stage: UnreviewedAccepted

by James Bennett, 18 years ago

Attachment: us_ssnfield.diff added

Patch adding USSocialSecurityNumberField

comment:3 by James Bennett, 18 years ago

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.

by James Bennett, 18 years ago

Attachment: us_ssnfield2.diff added

Better patch

comment:4 by James Bennett, 18 years ago

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 by Simon G. <dev@…>, 18 years ago

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

comment:6 by Malcolm Tredinnick, 18 years ago

Resolution: fixed
Status: newclosed

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

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