Skip to content

Commit

Permalink
fix 4.0 test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
FreemanPancake committed Nov 6, 2024
1 parent ac0addc commit 953c230
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions djangocms_navigation/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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},
)

Expand Down

0 comments on commit 953c230

Please sign in to comment.