2
0
Эх сурвалжийг харах

Corrected admin.E023 message in docs.

Hasan Ramezani 4 жил өмнө
parent
commit
d1f89c9b9a
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      docs/ref/checks.txt

+ 2 - 1
docs/ref/checks.txt

@@ -623,7 +623,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