diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-10-09 20:01:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-09 20:01:31 +0200 |
| commit | 1167cd1d639c3fee69dbdef351d31e8a17d1fedf (patch) | |
| tree | 94e8a6f773516491aca4ff7838b468ed6d1a3e3c /docs | |
| parent | 608d3ebc8889863d43be1090d634b9507fe4a85e (diff) | |
Corrected admin check IDs in docs.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/checks.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index e1ea5bc753..ab92220ac9 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -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>``. |
