#12586: Name error in the model validtion docs
---------------------------+------------------------------------------------
Reporter: phyfus | Owner: nobody
Status: new | Milestone: 1.2
Component: Documentation | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
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.
--
Ticket URL: <
http://code.djangoproject.com/ticket/12586>
Django <
http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.