Skip to content

Commit

Permalink
t: make note api with delete operation
Browse files Browse the repository at this point in the history
  • Loading branch information
pna-nca committed Oct 2, 2024
1 parent 7a9c943 commit be6f7bb
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 be6f7bb

Please sign in to comment.