1
0
mirror of https://github.com/django/django.git synced 2024-12-25 02:26:12 +00:00

[4.2.x] Corrected admin.E013 check message in docs.

Backport of ddb6506618 from main
This commit is contained in:
Mariusz Felisiak 2023-06-20 12:59:32 +02:00
parent fabd0510a0
commit a18e0f44d5

View File

@ -634,7 +634,7 @@ with the admin site:
* **admin.E011**: The value of ``fieldsets[n][1]`` must contain the key * **admin.E011**: The value of ``fieldsets[n][1]`` must contain the key
``fields``. ``fields``.
* **admin.E012**: There are duplicate field(s) in ``fieldsets[n][1]``. * **admin.E012**: There are duplicate field(s) in ``fieldsets[n][1]``.
* **admin.E013**: ``fields[n]/fieldsets[n][m]`` cannot include the * **admin.E013**: The value of ``fields[n]/fieldsets[n][m]`` cannot include the
``ManyToManyField`` ``<field name>``, because that field manually specifies a ``ManyToManyField`` ``<field name>``, because that field manually specifies a
relationship model. relationship model.
* **admin.E014**: The value of ``exclude`` must be a list or tuple. * **admin.E014**: The value of ``exclude`` must be a list or tuple.