From 89c27d867252d7c81be3de7184578db1934a9318 Mon Sep 17 00:00:00 2001 From: nessita <124304+nessita@users.noreply.github.com> Date: Mon, 5 Jun 2023 00:56:53 -0300 Subject: Fixed #34601 -- Added field name to check message for ModelAdmin.readonly_fields. Co-authored-by: Rick van Hattem --- docs/ref/checks.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/ref') 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 ````, which is not a field of ````. * **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 ````, or an attribute of ````. +* **admin.E035**: The value of ``readonly_fields[n]`` refers to + ````, which is not a callable, an attribute of + ````, or an attribute of ````. * **admin.E036**: The value of ``autocomplete_fields`` must be a list or tuple. * **admin.E037**: The value of ``autocomplete_fields[n]`` refers to ````, which is not a field of ````. -- cgit v1.3