#11595: Fixture validation errors should report their data -------------------------------------+------------------------------------- Reporter: freyley | Owner: raulcd Type: | Status: assigned Cleanup/optimization | Component: Core (Serialization) Milestone: | Severity: Normal Version: 1.0 | Keywords: easy-pickings Resolution: | Has patch: 0 Triage Stage: Accepted | Needs tests: 0 Needs documentation: 0 | Patch needs improvement: 0 | -------------------------------------+-------------------------------------
Comment (by russellm): @raulcd -- What you have proposed sounds right to me. My only comment: you don't need to wrap the value in "_()". That marks a string for translation, which isn't something we can do with user input. @lrekucki's comment is purely about the literal text for the message. The parentheses in "(foobar) must be an integer" is a strange construction. '"foobar" must be an integer' would make more sense. -- Ticket URL: <http://code.djangoproject.com/ticket/11595#comment:8> 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-updates@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.