#19592: BaseForms validation and ValidationError's params
-----------------------------+--------------------------------------
     Reporter:  cgenie@…     |                    Owner:  nobody
         Type:  New feature  |                   Status:  new
    Component:  Forms        |                  Version:  1.4
     Severity:  Normal       |               Resolution:
     Keywords:               |             Triage Stage:  Unreviewed
    Has patch:  0            |      Needs documentation:  0
  Needs tests:  0            |  Patch needs improvement:  0
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+--------------------------------------

Comment (by akaariai):

 hmmh, we have documented this:
 {{{
             self._errors["subject"] = self.error_class([msg])
 }}}
 [https://docs.djangoproject.com/en/dev/ref/forms/validation/]

 It seems really hard to make that code still work, yet have the
 `ValidationError` available.

 We could probably add some hacks and make the ValidationError available
 from somewhere if it happens to be present at all. But, this needs a
 *really* strong use case to be worth the added complexity. I still think
 wontfix is the way to go.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19592#comment:3>
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 https://groups.google.com/groups/opt_out.


Reply via email to