Opened 5 years ago

Closed 22 months ago

Last modified 22 months ago

#11162 closed Cleanup/optimization (fixed)

No Mention of raise exceptions.ValidationError in custom model fields docs

Reported by: avikohn Owned by: nobody
Component: Documentation Version: 1.0
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


It would be useful to mention the use of Mention the use of ValidationError in custom model fields docs as a valid response for incorrectly formatted data

Attachments (0)

Change History (6)

comment:1 Changed 4 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 3 years ago by julien

  • Severity set to Normal
  • Type set to Cleanup/optimization

comment:3 Changed 2 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:4 Changed 2 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

comment:5 Changed 22 months ago by Claude Paroz <claude@…>

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

In [596e15293c9f522a2b001d49a0c40005711682a6]:

Fixed #11162 -- Mentioned ValidationError in custom model field docs

comment:6 Changed 22 months ago by Claude Paroz <claude@…>

In [784d0c261c76535dc760bc8d76793d92f35c1513]:

Replaced 'return' by 'raise' in custom model field docs

Thanks Simon Charette for noticing it. Refs #11162.

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.