#23865: Document raising a `ValidationError` with a dictionary
-------------------------------+--------------------
Reporter: alasdairnicol | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
Ticket #16986 allows you to report errors on individual fields by
instantiating a `ValidationError` with a dictionary. However, this
technique is an undocumented private API, and not mentioned in the
[https://docs.djangoproject.com/en/dev/ref/models/instances/#django.db.models.Model.clean
Model.clean docs].
I started a [https://groups.google.com/forum/#!topic/django-
developers/6KGoVYeM3-Y thread on Django developers]
--
Ticket URL: <https://code.djangoproject.com/ticket/23865>
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/056.19078cf63f8c38d869f36d68d4421495%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.