﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
17591	USSocialSecurityNumberField doesn't validate the same when entered without hypens	aaron.l.madison@…	nobody	"In the us localflavor USSocialSecurityNumberField, if you enter an SSN without hyphens, the 'Woolworth' validations aren't run properly because they're explicity '078-05-1120' and '219-009-9999' instead of checking against the parts.

I refactored the field and created a patch that fixes it, plus added much better tests (in my opinion... added a test for each scenario).

Lastly, sometimes a user might NOT want to force the output to xxx-xx-xxxx. It might be useful to just leave it without hyphens. (in my case, need to pass ssn to a credit report service and will never need the dashes and I don't want to strip them out every time.) So, I added an optional keyword argument 'no_hyphen' to the ssn field which just forces the output to not have hyphens.

Please include or give feedback on the patch.

Thanks!"	Bug	closed	contrib.localflavor	1.3	Normal	invalid	localflavor, ussocialsecuritynumberfield, localflavorsplit	aaron.l.madison@…	Accepted	1	1	0	1	1	0
