mirror of
https://github.com/django/django.git
synced 2025-10-23 13:49:22 +00:00
[6.0.x] Corrected admin check IDs in docs.
Backport of 1167cd1d639c3fee69dbdef351d31e8a17d1fedf from main
This commit is contained in:
parent
953163e610
commit
5cc84a35b8
@ -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>``.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user