title: Atomic transactions in DRF action?
body: <p>I am trying to get into <code>Django atomic transactions</code> at first time. I wonder if there is a possibility to use it something like this:</p>
  
  <pre><code>class TaskViewSet(MultiSerializerViewSet):
      @transaction.atomic
      @action(methods=['PATCH'], detail=True)
      def move_task(self, request, pk):
          # making queries, trying to update them, roll back if last one fails.    
          return Response("message: SUCCESS", status=_status.HTTP_200_OK)
  </code></pre>
  
  <p>I have searched a bit - there is some information about how to use transactions but I did not find any info if it is possible to use them with DRF.</p>