Opened 17 years ago
Closed 17 years ago
#5871 closed (fixed)
Allow error_messages to be specified for form types in localflavor.nl.forms
Description ¶
The current implementation ignores the values in self.error_messages, patch & tests included in attached diff.
Change History (7)
by , 17 years ago
Attachment: | localflavor.nl.error_mesages.diff added |
---|
comment:1 by , 17 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 by , 17 years ago
Patch needs improvement: | set |
---|---|
Triage Stage: | Ready for checkin → Accepted |
Don't require the user of a field to always have to specify an error message, when there is usually a perfectly good default available. In other words, put back the default error messages and just leave the change that allows overriding. You don't want to make the most common use-case harder just to favour customisation.
by , 17 years ago
Attachment: | localflavor.error_messages.patch added |
---|
comment:3 by , 17 years ago
Patch needs improvement: | unset |
---|
I've moved all the hardcoded error messages in the localflavor
module (not just the Dutch) to the Field's default_error_messages
attribute.
comment:5 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
diff with changes in code & test