      def get_object(self):
          """
          Override default to add support for object-level permissions.
          """
          obj = super(SingleObjectBaseView, self).get_object()
          if not self.has_permission(self.request, obj):
              self.permission_denied(self.request)
          return obj
  
  
 
</s> remove class MultipleObjectBaseView(MultipleObjectMixin, BaseView):
 </s> add class MultipleObjectAPIView(MultipleObjectMixin, GenericAPIView): </s> remove class BaseView(views.APIView):
 </s> add class GenericAPIView(views.APIView): </s> remove class SingleObjectBaseView(SingleObjectMixin, BaseView):
 </s> add class SingleObjectAPIView(SingleObjectMixin, GenericAPIView): </s> remove                   MultipleObjectBaseView):
 </s> add                   MultipleObjectAPIView): </s> remove                       SingleObjectBaseView):
 </s> add                       SingleObjectAPIView):
        obj = super(SingleObjectAPIView, self).get_object()
      def get_object(self):
          """
          Override default to add support for object-level permissions.
          """
        obj = super(SingleObjectAPIView, self).get_object()
          if not self.has_permission(self.request, obj):
              self.permission_denied(self.request)
          return obj
  
  
keep keep keep keep replace keep keep keep keep keep
 Rework generic view class names 
rest_framework/generics.py