Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions django_object_actions/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -146,7 +146,7 @@ def _get_action_urls(self):
)
),
# Dupe name is fine. https://code.djangoproject.com/ticket/14259
Copy link
Author

@predatell predatell Aug 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not work in Django 2.0 and Django 2.1

name=model_actions_url_name,
name="%s_list" % model_actions_url_name,
),
]

Expand Down