Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#12586 closed (fixed)

Name error in the model validtion docs

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

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 Changed 6 years ago by jkocherhans

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

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

comment:2 Changed 4 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

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