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 7a9c943 commit ba31b2f
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 @@ -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()
Expand Down

0 comments on commit ba31b2f

Please sign in to comment.