From 3cd3b49eb50155ac7c29589b66498359b4934c00 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 19 Aug 2014 07:17:23 -0400 Subject: [PATCH] [1.6.x] Fixed #17272 -- Documented that non-editable fields are skipped during model validation. Thanks mitar for the report. Backport of c587bd5a94 from master --- docs/ref/models/fields.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 45f55d8cb0..c3317ff7c1 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -210,7 +210,8 @@ a dictionary as the default, use a ``lambda`` as follows:: .. attribute:: Field.editable If ``False``, the field will not be displayed in the admin or any other -:class:`~django.forms.ModelForm`. Default is ``True``. +:class:`~django.forms.ModelForm`. They are also skipped during :ref:`model +validation `. Default is ``True``. ``error_messages`` ------------------