From 33999d9871f9a0484190494e83d4a7e22e063e54 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Thu, 7 Jun 2012 22:11:24 +0200 Subject: [PATCH] Fixed #18445 -- Added a links in the docs. Thanks Audrey Roy for the patch. --- AUTHORS | 1 + docs/ref/forms/validation.txt | 2 ++ docs/topics/forms/modelforms.txt | 9 +++++---- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/AUTHORS b/AUTHORS index b389bb9a952..d46a054cf96 100644 --- a/AUTHORS +++ b/AUTHORS @@ -453,6 +453,7 @@ answer newbie questions, and generally made Django that much better: Armin Ronacher Daniel Roseman Rozza + Audrey Roy Oliver Rutherfurd ryankanno Gonzalo Saavedra diff --git a/docs/ref/forms/validation.txt b/docs/ref/forms/validation.txt index f6cdfc81414..97883d78800 100644 --- a/docs/ref/forms/validation.txt +++ b/docs/ref/forms/validation.txt @@ -1,3 +1,5 @@ +.. _form-and-field-validation: + Form and field validation ========================= diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index 7e00f6a41c2..eb53b177c5e 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -196,10 +196,11 @@ 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 -`. 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. +``ModelForm`` triggers :ref:`form validation ` as +well as :ref:`model validation `. 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. The ``save()`` method