              if method in ('DELETE', 'OPTIONS'):
                  return True  # Don't actually need to return a form
  
              if (
                  (not has_serializer and not has_serializer_class) or
                  not any(is_form_media_type(parser.media_type) for parser in view.parser_classes)
              ):
                  return
 
</s> remove                 not getattr(view, 'get_serializer', None) or
 </s> add                 (not has_serializer and not has_serializer_class) or </s> remove                 if method in ('PUT', 'PATCH'):
                    serializer = view.get_serializer(instance=instance, **kwargs)
 </s> add                 if has_serializer:
                    if method in ('PUT', 'PATCH'):
                        serializer = view.get_serializer(instance=instance, **kwargs)
                    else:
                        serializer = view.get_serializer(**kwargs) </s> remove                     serializer = view.get_serializer(**kwargs)
 </s> add                     # at this point we must have a serializer_class
                    if method in ('PUT', 'PATCH'):
                        serializer = self._get_serializer(view.serializer_class, view,
                                                          request, instance=instance, **kwargs)
                    else:
                        serializer = self._get_serializer(view.serializer_class, view,
                                                          request, **kwargs)
            has_serializer = getattr(view, 'get_serializer', None)
            has_serializer_class = getattr(view, 'serializer_class', None)

              if method in ('DELETE', 'OPTIONS'):
                  return True  # Don't actually need to return a form
  
            has_serializer = getattr(view, 'get_serializer', None)
            has_serializer_class = getattr(view, 'serializer_class', None)

              if (
                  (not has_serializer and not has_serializer_class) or
                  not any(is_form_media_type(parser.media_type) for parser in view.parser_classes)
              ):
                  return
keep keep add keep keep keep keep keep
 Make BrowsableAPIRenderer use serializer_class when present 
rest_framework/renderers.py