File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -827,11 +827,11 @@ The following checks are performed on any
827827:class:`~django.contrib.contenttypes.admin.GenericInlineModelAdmin` that is
828828registered 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
You can’t perform that action at this time.
0 commit comments