Code

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#14493 closed (fixed)

Typo in model instance documentation re ValidationError message_dict attribute

Reported by: wogan Owned by: wogan
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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 wogan 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by wogan

comment:1 Changed 4 years ago by gabrielhurley

  • Resolution set to fixed
  • Status changed from new to closed

(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 Changed 4 years ago by gabrielhurley

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.