From 107865780aa44914e21d27fdf4ca269bc61c7f01 Mon Sep 17 00:00:00 2001 From: Hrushikesh Date: Fri, 16 Jun 2023 19:06:24 +0530 Subject: Fixed #34345 -- Added system check for ManyToManyFields with intermediate tables in ModelAdmin.filter_horizontal/vertical. --- docs/ref/checks.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 50f7c1b166..de7b0dc382 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -637,9 +637,10 @@ with the admin site: * **admin.E011**: The value of ``fieldsets[n][1]`` must contain the key ``fields``. * **admin.E012**: There are duplicate field(s) in ``fieldsets[n][1]``. -* **admin.E013**: The value of ``fields[n]/fieldsets[n][m]`` cannot include the - ``ManyToManyField`` ````, because that field manually specifies a - relationship model. +* **admin.E013**: The value of + ``fields[n]/filter_horizontal[n]/filter_vertical[n]/fieldsets[n][m]`` cannot + include the ``ManyToManyField`` ````, because that field manually + specifies a relationship model. * **admin.E014**: The value of ``exclude`` must be a list or tuple. * **admin.E015**: The value of ``exclude`` contains duplicate field(s). * **admin.E016**: The value of ``form`` must inherit from ``BaseModelForm``. -- cgit v1.3