Code

Opened 7 years ago

Closed 7 years ago

#3890 closed (fixed)

localflavor: Add US Social Security number field

Reported by: ubernostrum Owned by: adrian
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 ubernostrum 7 years ago.
Patch adding USSocialSecurityNumberField
us_ssnfield2.diff (2.5 KB) - added by ubernostrum 7 years ago.
Better patch

Download all attachments as: .zip

Change History (8)

comment:1 Changed 7 years ago by ubernostrum

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

comment:2 Changed 7 years ago by ubernostrum

  • Triage Stage changed from Unreviewed to Accepted

Changed 7 years ago by ubernostrum

Patch adding USSocialSecurityNumberField

comment:3 Changed 7 years ago by ubernostrum

  • 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 7 years ago by ubernostrum

Better patch

comment:4 Changed 7 years ago by ubernostrum

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

  • Keywords localflavor, US, l10n added
  • Triage Stage changed from Accepted to Ready for checkin

comment:6 Changed 7 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.