summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2025-10-09 20:01:31 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2025-10-09 20:03:00 +0200
commit713e9d8f53c20a785e766477fa5270575833193e (patch)
tree2d6f83acd400adab42d4030fe956f9ee769b32fc /docs/ref
parent80b9c8f5292dfa38469a1e85314cc45b8374eb22 (diff)
[5.2.x] Corrected admin check IDs in docs.
Backport of 1167cd1d639c3fee69dbdef351d31e8a17d1fedf from main
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/checks.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index fd0983dfad..fe33990a22 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -814,11 +814,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>``.