          return True
  
      def get_rendered_html_form(self, data, view, method, request):
          """
          Return a string representing a rendered HTML form, possibly bound to
          either the input or output data.
  
 
</s> remove                 not getattr(view, 'get_serializer', None) or
 </s> add                 (not has_serializer and not has_serializer_class) or </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) </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)
    def _get_serializer(self, serializer_class, view_instance, request, *args, **kwargs):
        kwargs['context'] = {
            'request': request,
            'format': self.format,
            'view': view_instance
        }
        return serializer_class(*args, **kwargs)

          return True
  
    def _get_serializer(self, serializer_class, view_instance, request, *args, **kwargs):
        kwargs['context'] = {
            'request': request,
            'format': self.format,
            'view': view_instance
        }
        return serializer_class(*args, **kwargs)

      def get_rendered_html_form(self, data, view, method, request):
          """
          Return a string representing a rendered HTML form, possibly bound to
          either the input or output data.
  
keep add keep keep keep keep keep
 Make BrowsableAPIRenderer use serializer_class when present 
rest_framework/renderers.py