          fields = {}
          for k, v in self.view.get_serializer().fields.items():
              fields[k] = field_mapping[v.__class__.__name__]()
          OnTheFlyForm = type("OnTheFlyForm", (forms.Form,), fields)
  
          form_instance = OnTheFlyForm(self.view.get_serializer().data)
          return form_instance
  
      def _get_generic_content_form(self, view):
          """
          Returns a form that allows for arbitrary content types to be tunneled via standard HTML forms
 
</s> remove         for k, v in self.view.get_serializer().fields.items():
 </s> add         object, data = None, None
        if hasattr(self.view, 'object'):
            object = self.view.object
        serializer = self.view.get_serializer(instance=object)
        for k, v in serializer.fields.items(): </s> remove         return Response(serializer.error_data, status=status.HTTP_400_BAD_REQUEST)
 </s> add         return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
        if object:
            data = serializer.data
        form_instance = OnTheFlyForm(data)
          fields = {}
          for k, v in self.view.get_serializer().fields.items():
              fields[k] = field_mapping[v.__class__.__name__]()
          OnTheFlyForm = type("OnTheFlyForm", (forms.Form,), fields)
        if object:
            data = serializer.data
        form_instance = OnTheFlyForm(data)
        if object:
            data = serializer.data
        form_instance = OnTheFlyForm(data)
          return form_instance
  
      def _get_generic_content_form(self, view):
          """
          Returns a form that allows for arbitrary content types to be tunneled via standard HTML forms
keep keep keep keep replace replace keep keep keep keep keep
 `error_data` -> `errors`
Prefill form for instance view. 
djangorestframework/renderers.py