#31806: Make validators include the provided value in ValidationError
------------------------------+----------------------------------------
     Reporter:  Jon Dufresne  |                    Owner:  Jon Dufresne
         Type:  New feature   |                   Status:  closed
    Component:  Forms         |                  Version:  master
     Severity:  Normal        |               Resolution:  needsinfo
     Keywords:                |             Triage Stage:  Unreviewed
    Has patch:  1             |      Needs documentation:  0
  Needs tests:  0             |  Patch needs improvement:  0
Easy pickings:  0             |                    UI/UX:  0
------------------------------+----------------------------------------
Changes (by felixxm):

 * status:  assigned => closed
 * resolution:   => needsinfo
 * stage:  Accepted => Unreviewed


Comment:

 After reconsideration I have some doubts. Do you think it's really useful
 to include invalid values in error messages? Invalid form is redisplayed
 with errors in most (all?) of cases, so I'm not sure if it can be useful
 to display error messages containing invalid values next to form fields
 with invalid values (see
 [https://code.djangoproject.com/ticket/15069#comment:9 comment]). I'm
 trying to find a use case.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31806#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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.c76c0dba6c12293fc1d22e18de586d4e%40djangoproject.com.

Reply via email to