Corrected admin check IDs in docs.
Some checks failed
Docs / lint-docs (push) Has been cancelled
Docs / spelling (push) Has been cancelled
Docs / blacken-docs (push) Has been cancelled

This commit is contained in:
Mariusz Felisiak 2025-10-09 20:01:31 +02:00 committed by GitHub
parent 608d3ebc88
commit 1167cd1d63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -827,11 +827,11 @@ The following checks are performed on any
:class:`~django.contrib.contenttypes.admin.GenericInlineModelAdmin` that is
registered as an inline on a :class:`~django.contrib.admin.ModelAdmin`.
* **admin.E301**: ``'ct_field'`` references ``<label>``, which is not a field
* **admin.E301**: ``<model>`` has no ``GenericForeignKey``.
* **admin.E302**: ``'ct_field'`` references ``<label>``, which is not a field
on ``<model>``.
* **admin.E302**: ``'ct_fk_field'`` references ``<label>``, which is not a
* **admin.E303**: ``'ct_fk_field'`` references ``<label>``, which is not a
field on ``<model>``.
* **admin.E303**: ``<model>`` has no ``GenericForeignKey``.
* **admin.E304**: ``<model>`` has no ``GenericForeignKey`` using content type
field ``<field name>`` and object ID field ``<field name>``.