Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#12586 closed (fixed)

Name error in the model validtion docs

Reported by: Johann Heller Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

http://docs.djangoproject.com/en/dev/ref/models/instances/#validating-objects contains the following text:

try:
    article.full_validate()
except ValidationError, e:
    # Do something based on the errors contained in e.error_dict.
    # Display them to a user, or handle them programatically.

The full_validate method was renamed full_clean.

Change History (2)

comment:1 by jkocherhans, 14 years ago

Resolution: fixed
Status: newclosed

(In [12209]) Fixed #12586. Corrected a typo in the validation docs. Thanks, phyfus.

comment:2 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

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