diff --git a/flashcards/views.py b/flashcards/views.py index d006fe6..269219d 100644 --- a/flashcards/views.py +++ b/flashcards/views.py @@ -307,6 +307,7 @@ class FlashcardViewSet(GenericViewSet, CreateModelMixin, RetrieveModelMixin): user.unpull(flashcard) return Response(status=HTTP_204_NO_CONTENT) + @detail_route(methods=['POST']) def unpull(self, request, pk): """