Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added link from ModelForms topic docs to Form Validation ref docs.

  • Loading branch information...
commit 6ccd876f9020748bb7d4e7ce432d190c7ed425f7 1 parent 6934bdd
@audreyr authored
View
2  docs/ref/forms/validation.txt
@@ -1,3 +1,5 @@
+.. _form-and-field-validation:
+
Form and field validation
=========================
View
3  docs/topics/forms/modelforms.txt
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.