From be6f7bb9ffd8698b15aa3bbb5f68a2a6d75ce552 Mon Sep 17 00:00:00 2001 From: Pavel Nakonechnyi Date: Wed, 2 Oct 2024 19:52:08 +0200 Subject: [PATCH] t: make note api with delete operation --- dojo/api_v2/views.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dojo/api_v2/views.py b/dojo/api_v2/views.py index c956dac283..2b711b5f41 100644 --- a/dojo/api_v2/views.py +++ b/dojo/api_v2/views.py @@ -2825,8 +2825,9 @@ def get_queryset(self): # Authorization: superuser class NotesViewSet( - mixins.UpdateModelMixin, - viewsets.ReadOnlyModelViewSet, + # mixins.UpdateModelMixin, + # viewsets.ReadOnlyModelViewSet, + PrefetchDojoModelViewSet, ): serializer_class = serializers.NoteSerializer queryset = Notes.objects.none()