#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.--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.