diff --git a/app/api/views.py b/app/api/views.py index b45e984e..57e48043 100644 --- a/app/api/views.py +++ b/app/api/views.py @@ -226,7 +226,7 @@ class AnnotationList(generics.ListCreateAPIView): def perform_create(self, serializer): serializer.save(document_id=self.kwargs['doc_id'], user=self.request.user) - + def delete(self, request, *args, **kwargs): queryset = self.get_queryset() queryset.all().delete()