#15069: ValidationError message isn't helpful in tracking down the field that 
fails
validation
-------------------------------------------------------+--------------------
 Reporter:  Steve Steiner <sstein...@gmail.com>        |       Owner:  nobody   
 
   Status:  new                                        |   Milestone:  1.3      
 
Component:  Core framework                             |     Version:  1.2      
 
 Keywords:  ValidationError, exception, error message  |       Stage:  
Unreviewed
Has_patch:  0                                          |  
-------------------------------------------------------+--------------------
 raise exceptions.ValidationError(self.error_messages['invalid'])
 [Wed Jan 12 21:59:58 2011] [error] [client 10.177.133.202]
 ValidationError: [u'Enter a valid date/time in YYYY-MM-DD
 HH:MM[:ss[.uuuuuu]] format.']

 If the error message contained the invalid data, and, especially the name
 of the field that was being validated, that would be way more helpful.

 I'm going to go look for this in the source, but someone more familiar
 with this piece of code could probably make this change in pretty short
 order.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15069>
Django <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 django-upda...@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