#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.
Note:
See TracTickets
for help on using tickets.
(In [12209]) Fixed #12586. Corrected a typo in the validation docs. Thanks, phyfus.