Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.5.x] Removed a ModelForm doc section that doesn't apply to 1.5.x

  • Loading branch information...
commit 6cf33d49d1e903837b0d9321ff745bd894198431 1 parent e8ea552
@timgraham timgraham authored
Showing with 0 additions and 14 deletions.
  1. +0 −14 docs/topics/forms/modelforms.txt
View
14 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
---------------------
Please sign in to comment.
Something went wrong with that request. Please try again.