summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBakdolot <80908236+Bakdolot@users.noreply.github.com>2023-04-24 17:14:35 +0600
committerGitHub <noreply@github.com>2023-04-24 08:14:35 -0300
commitc813fb327cb1b09542be89c5ceed367826236bc2 (patch)
tree94f90414368cc6f962fcfb3f7035a1915a92c357 /docs
parent83c9765f45e4622e4a5af3adcd92263a28b13624 (diff)
downloaddjango-c813fb327cb1b09542be89c5ceed367826236bc2.tar.gz
Fixed #34481 -- Added system check for reverse related fields in ModelAdmin.list_display.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/checks.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index fa7c633487..9e350a3ff3 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -703,8 +703,8 @@ with the admin site:
* **admin.E108**: The value of ``list_display[n]`` refers to ``<label>``,
which is not a callable, an attribute of ``<ModelAdmin class>``, or an
attribute or method on ``<model>``.
-* **admin.E109**: The value of ``list_display[n]`` must not be a
- ``ManyToManyField`` field.
+* **admin.E109**: The value of ``list_display[n]`` must not be a many-to-many
+ field or a reverse foreign key.
* **admin.E110**: The value of ``list_display_links`` must be a list, a tuple,
or ``None``.
* **admin.E111**: The value of ``list_display_links[n]`` refers to ``<label>``,