#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       
              
-----------------------------------------------+----------------------------
Changes (by gwilson):

  * needs_better_patch:  => 1
  * stage:  Unreviewed => Design decision needed
  * summary:  [patch] newforms: even more granular error output => even
              more granular error output
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 My problem with this is that messages are put into `ErrorList` objects for
 `ValidationError`s, and then this would duplicate that work by either
 turning the errors into a new `ErrorList` or some custom error class
 instance.  I think this needs some more ironing out.  Also curious, what
 are your motivations for using a custom error class?  To use a different
 output method other than `as_ul`?

 I am currently playing with extracting the output formatting methods from
 the `BaseForm` class.  That work might be able to help the situation here
 too.

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