[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
This commit is contained in:
parent
d1e4fb996b
commit
3cd3b49eb5
@ -210,7 +210,8 @@ a dictionary as the default, use a ``lambda`` as follows::
|
|||||||
.. attribute:: Field.editable
|
.. attribute:: Field.editable
|
||||||
|
|
||||||
If ``False``, the field will not be displayed in the admin or any other
|
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``
|
``error_messages``
|
||||||
------------------
|
------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user