#5992: [patch] newforms: even more granular error output
--------------------------------------------+-------------------------------
Reporter: Max Derkachev <[EMAIL PROTECTED]> | Owner: nobody
Status: new | Component: django.newforms
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 1
--------------------------------------------+-------------------------------
The custom ErrorList supplied to a Form object is not respected when an
individual field errors are displayed, e.g {{ form.my_field.errors }}
The patch solves two issues:[[BR]]
1. Allows to define error_class at the class level (in the form class
definition)[[BR]]
2. Converts errors to the error_class instance when the errors are added
to errors dict (in full_clean)
--
Ticket URL: <http://code.djangoproject.com/ticket/5992>
Django Code <http://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
-~----------~----~----~----~------~----~------~--~---