#36618: BaseForm.add_error() misleading exception message when both field and dict
provided
-------------------------------------+-------------------------------------
Reporter: Chris Brand | Owner: Nilesh
Type: | Pahari
Cleanup/optimization | Status: closed
Component: Forms | Version: 5.2
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"e49e14fd9032feb7a8cf254658ac4e74a4ffb712" e49e14f]:
{{{#!CommitTicketReference repository=""
revision="e49e14fd9032feb7a8cf254658ac4e74a4ffb712"
Fixed #36618 -- Corrected error message in BaseForm.add_error().
The error message now correctly states that the error argument
is a dictionary.
}}}
--
Ticket URL: <
https://code.djangoproject.com/ticket/36618#comment:14>