Skip to content

Commit

Permalink
[3.2.x] Corrected admin.E023 message in docs.
Browse files Browse the repository at this point in the history
Backport of d1f89c9 from master
  • Loading branch information
hramezani authored and felixxm committed Mar 4, 2021
1 parent cafabd0 commit 4496968
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/ref/checks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,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
Expand Down

0 comments on commit 4496968

Please sign in to comment.