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:
committed by
Mariusz Felisiak
parent
e2d9d66a22
commit
8b3e714ecf
@@ -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``
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user