Opened 6 years ago

Closed 3 years ago

Last modified 3 years 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

Description

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

Change History (6)

comment:1 Changed 6 years ago by russellm

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

comment:2 Changed 4 years ago by julien

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

comment:3 Changed 4 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:4 Changed 4 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

comment:5 Changed 3 years 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 3 years ago by Claude Paroz <claude@…>

In [784d0c261c76535dc760bc8d76793d92f35c1513]:

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

Thanks Simon Charette for noticing it. Refs #11162.

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