Opened 7 years ago

Closed 4 years ago

Last modified 4 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 7 years ago by Russell Keith-Magee

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 5 years ago by Julien Phalip

Severity: Normal
Type: Cleanup/optimization

comment:3 Changed 5 years ago by Aymeric Augustin

UI/UX: unset

Change UI/UX from NULL to False.

comment:4 Changed 5 years ago by Aymeric Augustin

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:5 Changed 4 years ago by Claude Paroz <claude@…>

Resolution: fixed
Status: newclosed

In [596e15293c9f522a2b001d49a0c40005711682a6]:

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

comment:6 Changed 4 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