Commit 89f33f42 authored by Tim Graham's avatar Tim Graham
Browse files

[1.7.x] Fixed #17272 -- Documented that non-editable fields are skipped during model validation.

Thanks mitar for the report.

Backport of c587bd5a from master
parent 20e3a004
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -226,7 +226,8 @@ See that documentation for other caveats.
.. 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``
------------------