diff options
| author | Przemysław Buczkowski <przemub@creditdigital.co.uk> | 2018-09-13 13:36:14 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-10-02 09:17:23 -0400 |
| commit | 70d0a1ca02f42c0f8984b6234ca0f9d7e354a135 (patch) | |
| tree | 11a9e6d5c92e55124567da316204f977bd3ef0ca /docs | |
| parent | 7598cd4748dc402b0209e5eedb6d2a83c3da1620 (diff) | |
Fixed #29711 -- Added a system check for uniquness of admin actions' __name__.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/checks.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 67813067f2..c8b13aa100 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -593,6 +593,8 @@ with the admin site: ``DateTimeField``. * **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. ``InlineModelAdmin`` ~~~~~~~~~~~~~~~~~~~~ |
