From 5da533322e2126d73beddec0541a45c039877f58 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Thu, 29 Aug 2024 17:46:53 +0200 Subject: [PATCH] Conversation: allow TemplateTransactionalSendLog delete cascade --- lemarche/conversations/admin.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lemarche/conversations/admin.py b/lemarche/conversations/admin.py index af18c87d0..cab8b4f50 100644 --- a/lemarche/conversations/admin.py +++ b/lemarche/conversations/admin.py @@ -202,9 +202,6 @@ def has_add_permission(self, request): def has_change_permission(self, request, obj=None): return False - def has_delete_permission(self, request, obj=None): - return False - def recipient_object_id_with_link(self, obj): if obj.recipient_content_type and obj.recipient_object_id: if obj.recipient_content_type.model == "tender":