django.contrib.localflavor.cl.CLRutField isn't doing proper validation
|Reported by:||aotarola||Owned by:||nobody|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||yes||Patch needs improvement:||no|
django.contrib.localflavor.cl.CLRutField ignores validation for lowercase values.
A valid chilean rut ( chilean national identification number) is for example: 76796630-K (case for "K" must be uppercase), but not all people are aware of this,
and they keep using the lowercase version, so they spend a lot of time in online forms figuring this out.
The lowercase problem must be handled every time a form has a CLRutfield.
I believe this issue must be handled by CLRutfield's validation.
The attached patch solves this problem.
Change History (5)
comment:3 Changed 6 years ago by