#14493 closed (fixed)
Typo in model instance documentation re ValidationError message_dict attribute
| Reported by: | Greg Wogan-Browne | Owned by: | Greg Wogan-Browne |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The code sample for catching ValidationErrors incorrectly refers to an error_dict attribute, when it is actually called message_dict.
Attachments (1)
Change History (3)
by , 15 years ago
| Attachment: | typo.patch added |
|---|
comment:1 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 15 years ago
Note:
See TracTickets
for help on using tickets.
(In [14300]) Fixed #14493 -- Corrected use of the wrong attribute in the model validation example pseudo-code. Thanks to wogan for the report and patch.