summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaavi Teska <taaviteska@users.noreply.github.com>2017-04-10 20:24:44 +0200
committerTim Graham <timograham@gmail.com>2017-04-10 14:24:55 -0400
commitc3d3aeeafad1562ab82b250a55e09c2f513b0105 (patch)
tree07cca7c9e202735c5f19950c2eda13f19f52eb9e
parente5797fef5672ca76daadc6e133352dbba3100075 (diff)
[1.11.x] Fixed #27947 -- Doc'd that model Field.error_messages often don't propagate to forms.
Backport of 5dbf1c4b23cda915369f4895be293369575238d0 from master
-rw-r--r--AUTHORS1
-rw-r--r--docs/ref/models/fields.txt3
2 files changed, 4 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index dd7d873b34..658c84e809 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -732,6 +732,7 @@ answer newbie questions, and generally made Django that much better:
Sutrisno Efendi <kangfend@gmail.com>
Swaroop C H <http://www.swaroopch.info>
Szilveszter Farkas <szilveszter.farkas@gmail.com>
+ Taavi Teska <taaviteska@gmail.com>
Tai Lee <real.human@mrmachine.net>
Takashi Matsuo <matsuo.takashi@gmail.com>
Tareque Hossain <http://www.codexn.com>
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index b343aca6d9..b034a80dd7 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -254,6 +254,9 @@ Error message keys include ``null``, ``blank``, ``invalid``, ``invalid_choice``,
``unique``, and ``unique_for_date``. Additional error message keys are
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``
-------------