summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorAdam Donaghy <adamdonaghy1994@gmail.com>2020-01-06 22:10:40 +1100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-01-10 14:00:28 +0100
commit8b3e714ecf409ed6c9628c3f2a4e033cbfa4253b (patch)
treea73fd0ff983283482318a9465d0beb3ccefb5497 /docs/ref
parente2d9d66a22f9004c0349f6aa9f8762fa558bdee8 (diff)
Fixed #30980 -- Improved error message when checking uniqueness of admin actions' __name__.
Thanks Keshav Kumar for the initial patch.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/checks.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index fcbfec98cb..a080b5bdf5 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -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``
~~~~~~~~~~~~~~~~~~~~