#6737: Add Field default_error_messages feature to Forms class
--------------------------------------------------+------------------------
Reporter: nicklane | Owner: nobody
Type: New feature | Status: closed
Milestone: | Component: Forms
Version: SVN | Severity: Normal
Resolution: wontfix | Keywords:
Triage Stage: Design decision needed | Has patch: 1
Needs documentation: 1 | Needs tests: 1
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------------------+------------------------
Changes (by carljm):
* status: new => closed
* ui_ux: => 0
* resolution: => wontfix
* easy: => 0
Comment:
Fields use a default_error_messages dict because they are built-in Django
code that raises errors, and its useful for users to have a sane way to
customize those messages.
Django's built-in Form classes don't raise any errors themselves. User
forms that raise errors can use whatever technique they want for allowing
subclasses to easily modify their error messages; Django doesn't need to
dictate a particular method.
--
Ticket URL: <https://code.djangoproject.com/ticket/6737#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.