summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authornessita <124304+nessita@users.noreply.github.com>2023-06-05 00:56:53 -0300
committerGitHub <noreply@github.com>2023-06-05 05:56:53 +0200
commit89c27d867252d7c81be3de7184578db1934a9318 (patch)
tree25775038f303f9c619f26eda2458755783d77778 /docs/ref
parentf9936deed1ff13b20e18bd9ca2b0750b52706b6c (diff)
Fixed #34601 -- Added field name to check message for ModelAdmin.readonly_fields.
Co-authored-by: Rick van Hattem <wolph@wol.ph>
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/checks.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index df0adbef63..1b2306b2af 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -675,8 +675,9 @@ with the admin site:
* **admin.E033**: The value of ``ordering`` refers to ``<field name>``, which
is not a field of ``<model>``.
* **admin.E034**: The value of ``readonly_fields`` must be a list or tuple.
-* **admin.E035**: The value of ``readonly_fields[n]`` is not a callable, an
- attribute of ``<ModelAdmin class>``, or an attribute of ``<model>``.
+* **admin.E035**: The value of ``readonly_fields[n]`` refers to
+ ``<field_name>``, which is not a callable, an attribute of
+ ``<ModelAdmin class>``, or an attribute of ``<model>``.
* **admin.E036**: The value of ``autocomplete_fields`` must be a list or tuple.
* **admin.E037**: The value of ``autocomplete_fields[n]`` refers to
``<field name>``, which is not a field of ``<model>``.