Fixed #27947 -- Doc'd that model Field.error_messages often don't propagate to forms.

This commit is contained in:
Taavi Teska 2017-04-10 20:24:44 +02:00 committed by Tim Graham
parent e7afef13f5
commit 5dbf1c4b23
2 changed files with 4 additions and 0 deletions

View File

@ -737,6 +737,7 @@ answer newbie questions, and generally made Django that much better:
Sutrisno Efendi <kangfend@gmail.com> Sutrisno Efendi <kangfend@gmail.com>
Swaroop C H <http://www.swaroopch.info> Swaroop C H <http://www.swaroopch.info>
Szilveszter Farkas <szilveszter.farkas@gmail.com> Szilveszter Farkas <szilveszter.farkas@gmail.com>
Taavi Teska <taaviteska@gmail.com>
Tai Lee <real.human@mrmachine.net> Tai Lee <real.human@mrmachine.net>
Takashi Matsuo <matsuo.takashi@gmail.com> Takashi Matsuo <matsuo.takashi@gmail.com>
Tareque Hossain <http://www.codexn.com> Tareque Hossain <http://www.codexn.com>

View File

@ -254,6 +254,9 @@ Error message keys include ``null``, ``blank``, ``invalid``, ``invalid_choice``,
``unique``, and ``unique_for_date``. Additional error message keys are ``unique``, and ``unique_for_date``. Additional error message keys are
specified for each field in the `Field types`_ section below. specified for each field in the `Field types`_ section below.
These error messages often don't propagate to forms. See
:ref:`considerations-regarding-model-errormessages`.
``help_text`` ``help_text``
------------- -------------