mirror of
https://github.com/django/django.git
synced 2025-08-06 20:08:20 +00:00
Fixed #17272 -- Documented that non-editable fields are skipped during model validation.
Thanks mitar for the report.
This commit is contained in:
parent
7006187064
commit
c587bd5a94
1 changed files with 2 additions and 1 deletions
|
@ -226,7 +226,8 @@ See that documentation for other caveats.
|
||||||
.. 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…
Add table
Add a link
Reference in a new issue