mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #34345 -- Added system check for ManyToManyFields with intermediate tables in ModelAdmin.filter_horizontal/vertical.
This commit is contained in:
committed by
Mariusz Felisiak
parent
ddb6506618
commit
107865780a
@@ -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`` ``<field name>``, 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`` ``<field name>``, 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``.
|
||||
|
||||
Reference in New Issue
Block a user