#23865 closed Cleanup/optimization (fixed)
Document raising a `ValidationError` with a dictionary
Description ¶
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 Model.clean docs.
I started a thread on Django developers
Change History (5)
comment:1 by , 10 years ago
Has patch: | set |
---|
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|---|
Type: | Uncategorized → Cleanup/optimization |
PR seems merge-ready to me. There's been some discussion on the ML thread; I'll wait a bit for merge to see if Loic or Anssi or anyone else wants to weigh in on the PR.
comment:4 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Pull request is at https://github.com/django/django/pull/3573