From 953c2305dc296536dcf8b965ba4e8302eac3dadf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=82=85=E7=9D=BF=E6=9B=BC?= Date: Wed, 6 Nov 2024 11:08:37 +0800 Subject: [PATCH] fix 4.0 test issue --- djangocms_navigation/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/djangocms_navigation/admin.py b/djangocms_navigation/admin.py index 9885b43c1..f5f6f294b 100644 --- a/djangocms_navigation/admin.py +++ b/djangocms_navigation/admin.py @@ -443,9 +443,9 @@ def _get_delete_link(self, obj, request, disabled=False): name="discard", disabled=disabled, ) - + return render_to_string( - "djangocms_versioning/admin/icons/discard_icon.html", + "djangocms_versioning/admin/discard_icon.html", {"discard_url": delete_url, "disabled": disabled, "object_id": obj.id}, )