              serializer_class = DefaultSerializer
  
          return serializer_class
  
      def get_serializer(self, instance=None, data=None, files=None):
          """
          Return the serializer instance that should be used for validating and
          deserializing input, and for serializing output.
          """
          serializer_class = self.get_serializer_class()
 
</s> remove         return serializer_class(instance, data=data, files=files, context=context)
 </s> add         return serializer_class(instance, data=data, files=files, partial=partial, context=context) </s> remove         serializer = self.get_serializer(self.object, data=request.DATA, files=request.FILES)
 </s> add         serializer = self.get_serializer(self.object, data=request.DATA, files=request.FILES, partial=partial) </s> remove     def update(self, request, *args, **kwargs):
 </s> add     def update(self, request, partial=False, *args, **kwargs): </s> remove         return self.update(request, *args, **kwargs)
 </s> add         return self.update(request, partial=False, *args, **kwargs)


class ParitalUpdateAPIView(mixins.UpdateModelMixin,
                            SingleObjectAPIView):

    """
    Concrete view for paritally updating a model instance.
    """
    def patch(self, request, *args, **kwargs):
        return self.update(request, partial=True, *args, **kwargs)
    def get_serializer(self, instance=None, data=None, files=None, partial=False):
              serializer_class = DefaultSerializer
  
          return serializer_class
  
    def get_serializer(self, instance=None, data=None, files=None, partial=False):
          """
          Return the serializer instance that should be used for validating and
          deserializing input, and for serializing output.
          """
          serializer_class = self.get_serializer_class()
keep keep keep keep replace keep keep keep keep keep
 Adding PATCH support to Django REST Framework 
rest_framework/generics.py