From 4a082a9cf6dc800f2cb7f70486fd277dbe9cd72d Mon Sep 17 00:00:00 2001 From: A7640S Date: Mon, 10 Mar 2025 11:56:52 +0000 Subject: [PATCH] Discussion entre les collabs --- Mapapi/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Mapapi/views.py b/Mapapi/views.py index 1ef395a..337d471 100644 --- a/Mapapi/views.py +++ b/Mapapi/views.py @@ -2426,8 +2426,6 @@ def get_queryset(self): except Collaboration.DoesNotExist: raise NotFound("Aucune discussion trouvée pour cet incident.") - if collaboration.incident.etat == "resolved": - raise NotFound("La discussion est terminée car l'incident est résolu.") return DiscussionMessage.objects.filter( incident__id=incident_id