Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1502 from marfire/doc_modelvalid

Documentation -- Corrected error about Model.full_clean()
  • Loading branch information...
commit c5f768f8cc53a54686bcb1867cc4400393427ffe 2 parents 0073f1d + bb011cf
Tim Graham timgraham authored
Showing with 3 additions and 8 deletions.
  1. +3 −8 docs/ref/models/instances.txt
11 docs/ref/models/instances.txt
@@ -104,14 +104,9 @@ aren't present on your form from being validated since any errors raised could
not be corrected by the user.
Note that ``full_clean()`` will *not* be called automatically when you call
-your model's :meth:`` method, nor as a result of
-:class:`~django.forms.ModelForm` validation. In the case of
-:class:`~django.forms.ModelForm` validation, :meth:`Model.clean_fields()`,
-:meth:`Model.clean()`, and :meth:`Model.validate_unique()` are all called
-You'll need to call ``full_clean`` manually when you want to run one-step model
-validation for your own manually created models. For example::
+your model's :meth:`` method. You'll need to call it manually
+when you want to run one-step model validation for your own manually created
+models. For example::
from django.core.exceptions import ValidationError
Please sign in to comment.
Something went wrong with that request. Please try again.