Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#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)

typo.patch (590 bytes ) - added by Greg Wogan-Browne 14 years ago.

Download all attachments as: .zip

Change History (3)

by Greg Wogan-Browne, 14 years ago

Attachment: typo.patch added

comment:1 by Gabriel Hurley, 14 years ago

Resolution: fixed
Status: newclosed

(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.

comment:2 by Gabriel Hurley, 14 years ago

(In [14301]) [1.2.X] Fixed #14493 -- Corrected use of the wrong attribute in the model validation example pseudo-code. Thanks to wogan for the report and patch.

Backport of [14300] from trunk.

Note: See TracTickets for help on using tickets.
Back to Top