summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorKevin Christopher Henry <k@severian.com>2013-08-21 15:38:07 -0400
committerTim Graham <timograham@gmail.com>2013-08-21 17:46:18 -0400
commit69a4594cb7b4eab7c689866557c491c85cdf3aa2 (patch)
tree5c9916d02f43d33cbce54b5d58ebfe5ca4da0c7c /docs/ref
parent28b1317fd815325b5a58a7acae12ca45de5a6ac9 (diff)
downloaddjango-69a4594cb7b4eab7c689866557c491c85cdf3aa2.tar.gz
[1.6.x] Documentation -- Corrected error about Model.full_clean()
Although the ModelForm validation code was changed to call Model.full_clean(), the documentation still said otherwise. The offending phrase was removed. Backport of bb011cf809 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/instances.txt11
1 files changed, 3 insertions, 8 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index c9c01d5679..4bb6af2a51 100644
--- a/docs/ref/models/instances.txt
+++ b/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:`~Model.save()` 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
-individually.
-
-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:`~Model.save()` 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
try: