From c3c711732d929dda4b387dfbb24efd4fd775075a Mon Sep 17 00:00:00 2001 From: Nathan Shafer Date: Mon, 6 Jun 2022 11:48:41 -0700 Subject: [PATCH] Unquote object_id when calling get_change_actions --- django_object_actions/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_object_actions/utils.py b/django_object_actions/utils.py index f0b3864..71d2167 100644 --- a/django_object_actions/utils.py +++ b/django_object_actions/utils.py @@ -49,7 +49,7 @@ def change_view(self, request, object_id, form_url="", extra_context=None): { "objectactions": [ self._get_tool_dict(action) - for action in self.get_change_actions(request, object_id, form_url) + for action in self.get_change_actions(request, unquote(object_id), form_url) ], "tools_view_name": self.tools_view_name, }