#24706: ModelForm._post_clean assumes that setting attributes onto an instance
cannot raise ValidationError
-------------------------------------+-------------------------------------
Reporter: kezabelle | Owner: kezabelle
Type: | Status: closed
Cleanup/optimization |
Component: Forms | Version: master
Severity: Normal | Resolution: fixed
Keywords: 1.9 | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"3c5862ccb0fc77418c3b20c21c6b57c40b483464" 3c5862cc]:
{{{
#!CommitTicketReference repository=""
revision="3c5862ccb0fc77418c3b20c21c6b57c40b483464"
Fixed #24706 -- Made ModelForm._post_clean() handle a ValidationError
raised when constructing the model instance.
Thanks Loïc Bistuer for review and advice.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24706#comment:8>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.0618ab7de504c77803d70a94cc6c1054%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.