Skip to content

Commit 1167cd1

Browse files
authored
Corrected admin check IDs in docs.
1 parent 608d3eb commit 1167cd1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/ref/checks.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -827,11 +827,11 @@ The following checks are performed on any
827827
:class:`~django.contrib.contenttypes.admin.GenericInlineModelAdmin` that is
828828
registered as an inline on a :class:`~django.contrib.admin.ModelAdmin`.
829829

830-
* **admin.E301**: ``'ct_field'`` references ``<label>``, which is not a field
830+
* **admin.E301**: ``<model>`` has no ``GenericForeignKey``.
831+
* **admin.E302**: ``'ct_field'`` references ``<label>``, which is not a field
831832
on ``<model>``.
832-
* **admin.E302**: ``'ct_fk_field'`` references ``<label>``, which is not a
833+
* **admin.E303**: ``'ct_fk_field'`` references ``<label>``, which is not a
833834
field on ``<model>``.
834-
* **admin.E303**: ``<model>`` has no ``GenericForeignKey``.
835835
* **admin.E304**: ``<model>`` has no ``GenericForeignKey`` using content type
836836
field ``<field name>`` and object ID field ``<field name>``.
837837

0 commit comments

Comments
 (0)