Skip to content

Commit

Permalink
Added link from ModelForms topic docs to Form Validation ref docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
audreyfeldroy committed Jun 7, 2012
1 parent 6934bdd commit 6ccd876
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/ref/forms/validation.txt
@@ -1,3 +1,5 @@
.. _form-and-field-validation:

Form and field validation
=========================

Expand Down
3 changes: 2 additions & 1 deletion docs/topics/forms/modelforms.txt
Expand Up @@ -196,7 +196,8 @@ The ``is_valid()`` method and ``errors``
----------------------------------------

The first time you call ``is_valid()`` or access the ``errors`` attribute of a
``ModelForm`` triggers form validation as well as :ref:`model validation
``ModelForm`` triggers :ref:`form validation<form-and-field-validation>`
as well as :ref:`model validation
<validating-objects>`. This has the side-effect of cleaning the model you pass
to the ``ModelForm`` constructor. For instance, calling ``is_valid()`` on your
form will convert any date fields on your model to actual date objects.
Expand Down

0 comments on commit 6ccd876

Please sign in to comment.