#5335: Add an append method to ErrorDict
-------------------------------------+-------------------------------------
               Reporter:  Thomas     |          Owner:  jkocherhans
  Güttler <hv@…>                     |         Status:  new
                   Type:  New        |      Component:  Forms
  feature                            |       Severity:  Normal
              Milestone:  1.4        |       Keywords:  append errodict
                Version:  SVN        |      Has patch:  1
             Resolution:             |    Needs tests:  0
           Triage Stage:  Accepted   |  Easy pickings:  0
    Needs documentation:  0          |
Patch needs improvement:  1          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------

Comment (by kmtracey):

 Current patch (form_error_append_r16741.diff) will auto-create an
 `ErrorList()` object for a field's error list even if the including form
 has over-ridden the form's error class
 (https://docs.djangoproject.com/en/1.3/ref/forms/api/#customizing-the-
 error-list-format). If we are going to add this (and it would be nice) it
 needs to be done in a way that will use the form's custom error class if
 it has been defined. This case should also be tested, in a test similar
 to:
 
https://code.djangoproject.com/browser/django/tags/releases/1.3.1/tests/regressiontests/forms/tests/error_messages.py#L199

-- 
Ticket URL: <https://code.djangoproject.com/ticket/5335#comment:25>
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to