1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #30980 -- Improved error message when checking uniqueness of admin actions' __name__.

Thanks Keshav Kumar for the initial patch.
This commit is contained in:
Adam Donaghy
2020-01-06 22:10:40 +11:00
committed by Mariusz Felisiak
parent e2d9d66a22
commit 8b3e714ecf
3 changed files with 18 additions and 13 deletions

View File

@@ -633,7 +633,7 @@ with the admin site:
* **admin.E129**: ``<modeladmin>`` must define a ``has_<foo>_permission()``
method for the ``<action>`` action.
* **admin.E130**: ``__name__`` attributes of actions defined in
``<modeladmin>`` must be unique.
``<modeladmin>`` must be unique. Name ``<name>`` is not unique.
``InlineModelAdmin``
~~~~~~~~~~~~~~~~~~~~