Skip to content

Commit

Permalink
REST API: make test notes API support DELETE operation
Browse files Browse the repository at this point in the history
  • Loading branch information
pna-nca committed Oct 15, 2024
1 parent 182912c commit 8778857
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dojo/api_v2/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2598,8 +2598,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()
Expand Down

0 comments on commit 8778857

Please sign in to comment.