summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-08-08 06:29:15 -0400
committerTim Graham <timograham@gmail.com>2013-08-08 06:29:15 -0400
commit6cf33d49d1e903837b0d9321ff745bd894198431 (patch)
treea8a6c1e787b666fcc2d062c02a87dc9176b45eae
parente8ea55212bc1520da2e9b87af9990505c5baa000 (diff)
[1.5.x] Removed a ModelForm doc section that doesn't apply to 1.5.x
-rw-r--r--docs/topics/forms/modelforms.txt14
1 files changed, 0 insertions, 14 deletions
diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt
index e8c4d6ffc0..6205d798c5 100644
--- a/docs/topics/forms/modelforms.txt
+++ b/docs/topics/forms/modelforms.txt
@@ -251,20 +251,6 @@ The model's ``clean()`` method will be called before any uniqueness checks are
made. See :ref:`Validating objects <validating-objects>` for more information
on the model's ``clean()`` hook.
-Considerations regarding fields' ``error_messages``
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Error messages defined at the
-:attr:`form field <django.forms.Field.error_messages>` level or at the
-:ref:`form Meta <modelforms-overriding-default-fields>` level always take
-precedence over the error messages defined at the
-:attr:`model field <django.db.models.Field.error_messages>` level.
-Error messages defined on :attr:`model fields
-<django.db.models.Field.error_messages>` are only used when the
-``ValidationError`` is raised during the :ref:`model validation
-<validating-objects>` step and no corresponding error messages are defined at
-the form level.
-
The ``save()`` method
---------------------