From 44969681b82a69bf21f9ede4aa0b2795be8d5ffa Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Wed, 3 Mar 2021 15:04:47 +0100 Subject: [PATCH] [3.2.x] Corrected admin.E023 message in docs. Backport of d1f89c9b9a9b44c4dbfd24fcb5f76f16e973c0a2 from master --- docs/ref/checks.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index b07a81f413..96ac6277f2 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -612,7 +612,8 @@ with the admin site: * **admin.E022**: The value of ``radio_fields`` refers to ````, which is not an attribute of ````. * **admin.E023**: The value of ``radio_fields`` refers to ````, - which is not a ``ForeignKey``, and does not have a ``choices`` definition. + which is not instance of ``ForeignKey``, and does not have a ``choices`` + definition. * **admin.E024**: The value of ``radio_fields[]`` must be either ``admin.HORIZONTAL`` or ``admin.VERTICAL``. * **admin.E025**: The value of ``view_on_site`` must be either a callable or a