#27434: Document caveats of raising a ValidationError in Model.clean() for a
field
not in a model form
-------------------------------------+-------------------------------------
Reporter: Matthias Kestenholz | Owner: Matthias
Type: | Kestenholz
Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim Graham <timograham@…>):
In [changeset:"a1c6c220e2ac86a74869d0017cd658115cc4ad7b" a1c6c220]:
{{{
#!CommitTicketReference repository=""
revision="a1c6c220e2ac86a74869d0017cd658115cc4ad7b"
[1.11.x] Fixed #27434 -- Doc'd how to raise a model validation error for a
field not in a model form.
Backport of e8c056c31a5b353e7b50a405c00db12c28f4a756 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27434#comment:9>
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.5bd4e9a452672439b899c1ea5cd4a3ac%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.