From d1f89c9b9a9b44c4dbfd24fcb5f76f16e973c0a2 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Wed, 3 Mar 2021 15:04:47 +0100 Subject: [PATCH] Corrected admin.E023 message in docs. --- 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 16d0fdb27f..54ae9c47ce 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -623,7 +623,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