Loading AUTHORS +1 −0 Original line number Diff line number Diff line Loading @@ -453,6 +453,7 @@ answer newbie questions, and generally made Django that much better: Armin Ronacher Daniel Roseman <http://roseman.org.uk/> Rozza <ross.lawley@gmail.com> Audrey Roy <http://audreymroy.com/> Oliver Rutherfurd <http://rutherfurd.net/> ryankanno Gonzalo Saavedra <gonzalosaavedra@gmail.com> Loading docs/ref/forms/validation.txt +2 −0 Original line number Diff line number Diff line .. _form-and-field-validation: Form and field validation ========================= Loading docs/topics/forms/modelforms.txt +5 −4 Original line number Diff line number Diff line Loading @@ -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 <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. ``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. The ``save()`` method Loading Loading
AUTHORS +1 −0 Original line number Diff line number Diff line Loading @@ -453,6 +453,7 @@ answer newbie questions, and generally made Django that much better: Armin Ronacher Daniel Roseman <http://roseman.org.uk/> Rozza <ross.lawley@gmail.com> Audrey Roy <http://audreymroy.com/> Oliver Rutherfurd <http://rutherfurd.net/> ryankanno Gonzalo Saavedra <gonzalosaavedra@gmail.com> Loading
docs/ref/forms/validation.txt +2 −0 Original line number Diff line number Diff line .. _form-and-field-validation: Form and field validation ========================= Loading
docs/topics/forms/modelforms.txt +5 −4 Original line number Diff line number Diff line Loading @@ -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 <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. ``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. The ``save()`` method Loading