diff options
| author | Tim Graham <timograham@gmail.com> | 2014-08-19 07:17:23 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-08-19 07:18:42 -0400 |
| commit | 3cd3b49eb50155ac7c29589b66498359b4934c00 (patch) | |
| tree | 998b019af4ea0663c1a1e4ae35961d250f820786 /docs/ref/models | |
| parent | d1e4fb996bd969c9a5d1dc4546b3fd46766ad25e (diff) | |
[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
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/fields.txt | 3 |
1 files changed, 2 insertions, 1 deletions
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 <validating-objects>`. Default is ``True``. ``error_messages`` ------------------ |
