#11595: Fixture validation errors should report their data
-------------------------------------+-------------------------------------
Reporter: freyley | Owner: raulcd
Type: | Status: closed
Cleanup/optimization | Component: Core
Milestone: | (Serialization)
Version: 1.0 | Severity: Normal
Resolution: fixed | Keywords: easy-pickings
Triage Stage: Ready for | Has patch: 1
checkin | Needs tests: 0
Needs documentation: 0 | Easy pickings: 1
Patch needs improvement: 0 |
UI/UX: 0 |
-------------------------------------+-------------------------------------
Changes (by mtredinnick):
* status: assigned => closed
* resolution: => fixed
Comment:
In [16638]:
{{{
#!CommitTicketReference repository="" revision="16638"
Improved error message display during validation errors.
When reporting a validation error (during model validation or fixture
loading, for example), the error messages now report the bad value as
well as the expected type. This can make identifying the offending field
and problem a bit easier.
Fixed #11595. Patch from raulcd and wildfire with supervision from
Russell.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/11595#comment:18>
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 this group at
http://groups.google.com/group/django-updates?hl=en.