#12698: ValidationError bug when passing a string message argument in model validation ---------------------------------------------------+------------------------ Reporter: orokusaki | Owner: nobody Status: new | Milestone: Component: Database layer (models, ORM) | Version: SVN Resolution: | Keywords: core.exceptions, core.forms.models, model validation Stage: Unreviewed | Has_patch: 1 Needs_docs: 0 | Needs_tests: 1 Needs_better_patch: 0 | ---------------------------------------------------+------------------------ Changes (by flebel):
* keywords: core.exceptions, core.forms.models => core.exceptions, core.forms.models, model validation * has_patch: 0 => 1 * needs_tests: 0 => 1 * summary: ValidationError requires dict() to function properly => ValidationError bug when passing a string message argument in model validation Comment: I shall add for the sake of clarity that this bug happens when you raise a ValidationError with a string as the message parameter in the clean* methods of a model (new-in-dev model validation: http://docs.djangoproject.com/en/dev/ref/models/instances/#id1 ). As for my previous comment, "path" should've been "patch" ;) -- Ticket URL: <http://code.djangoproject.com/ticket/12698#comment:4> 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.