Skip to content

Commit

Permalink
fixed test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
vipulnarang95 committed Mar 13, 2024
1 parent 16b7d5c commit 2fded73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangocms_navigation/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ def delete_view(self, request, object_id, menu_content_id=None, form_url="", ext
to_be_deleted = [f"Menu item: {menu_item}"]
extra_context["deleted_objects"] = self._get_to_be_deleted(menu_item.get_children(), to_be_deleted)

return super().delete_view(request, object_id, extra_context)
return super().delete_view(request, str(object_id), extra_context)

def response_delete(self, request, obj_display, obj_id):
"""
Expand Down

0 comments on commit 2fded73

Please sign in to comment.