[Django] #12586: Name error in the model validtion docs

0 views
Skip to first unread message

Django

unread,
Jan 12, 2010, 12:08:30 AM1/12/10
to djang...@holovaty.com, django-...@googlegroups.com
#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.
Reply all
Reply to author
Forward
0 new messages