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

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

View File

@ -732,6 +732,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``
------------- -------------