mirror of
https://github.com/django/django.git
synced 2025-04-15 21:04:36 +00:00
[3.2.x] Corrected admin.E023 message in docs.
Backport of d1f89c9b9a9b44c4dbfd24fcb5f76f16e973c0a2 from master
This commit is contained in:
parent
cafabd0859
commit
44969681b8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user