summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2021-03-03 15:04:47 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-03-04 09:22:01 +0100
commit05066ad961d351307f1c48d17feca3837b6d1bfb (patch)
tree5fa0f48523240e5ffb7fc4afc032c5ac796107c8 /docs
parent350c69113aff7502f772f9d3d9c8f31893b2eb00 (diff)
[3.1.x] Corrected admin.E023 message in docs.
Backport of d1f89c9b9a9b44c4dbfd24fcb5f76f16e973c0a2 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/checks.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index 9f999c7080..4423546a57 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -585,7 +585,8 @@ with the admin site:
* **admin.E022**: The value of ``radio_fields`` refers to ``<field name>``,
which is not an attribute of ``<model>``.
* **admin.E023**: The value of ``radio_fields`` refers to ``<field name>``,
- 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[<field name>]`` must be either
``admin.HORIZONTAL`` or ``admin.VERTICAL``.
* **admin.E025**: The value of ``view_on_site`` must be either a callable or a