#5992: even more granular error output
-----------------------------------------------+----------------------------
   Reporter:  Max Derkachev <[EMAIL PROTECTED]>  |                Owner:  
nobody                
     Status:  new                              |            Component:  
django.newforms       
    Version:  SVN                              |           Resolution:          
              
   Keywords:                                   |                Stage:  Design 
decision needed
  Has_patch:  1                                |           Needs_docs:  0       
              
Needs_tests:  0                                |   Needs_better_patch:  1       
              
-----------------------------------------------+----------------------------
Comment (by Max Derkachev <[EMAIL PROTECTED]>):

 I thought about that duplicate work. The problem is that ValidationError
 itself does store errors list in ErrorList instance. Since there are no
 sensible way to tell it the error list class, my thought was that it
 should not convert error messages at all - the full_clean method should,
 and that would eliminate double convertion.[[BR]]

 And for the custom errorlist class. Yes, I need different output method.
 Moreover, the standard method for this (custom errols list class) is
 provided by the API. And the fact that custom class is used when the whole
 form is dumped via as_ul or something, and is not respected when an
 individual error output is inserted into a template, looks like a bug to
 me.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5992#comment:2>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to