diff --git a/django_object_actions/utils.py b/django_object_actions/utils.py index 095ab11..71ca47a 100644 --- a/django_object_actions/utils.py +++ b/django_object_actions/utils.py @@ -66,7 +66,7 @@ def changelist_view(self, request, extra_context=None): self._get_tool_dict(action) for action in self.get_changelist_actions(request) ], - "tools_view_name": self.tools_view_name, + "tools_view_name": "%s_list" % self.tools_view_name, } ) return super(BaseDjangoObjectActions, self).changelist_view( @@ -146,7 +146,7 @@ def _get_action_urls(self): ) ), # Dupe name is fine. https://code.djangoproject.com/ticket/14259 - name=model_actions_url_name, + name="%s_list" % model_actions_url_name, ), ]