      media_type = 'text/html'
      format = 'api'
      template = 'rest_framework/api.html'
      charset = 'utf-8'
  
      def get_default_renderer(self, view):
          """
          Return an instance of the first valid renderer.
 
</s> remove     def get_form(self, view, method, request):
 </s> add     def get_rendered_html_form(self, view, method, request): </s> remove         OnTheFlyForm = type(str("OnTheFlyForm"), (forms.Form,), fields)
        data = (obj is not None) and serializer.data or None
        form_instance = OnTheFlyForm(data)
 </s> add         fields = self.data_to_form_fields(data)
        DynamicForm = type(str('DynamicForm'), (forms.Form,), fields)
        data = None if data.empty else data </s> remove     def render(self, serializer, obj, request):
        fields = self.serializer_to_form_fields(serializer)
 </s> add     def render(self, data, accepted_media_type=None, renderer_context=None):
        self.renderer_context = renderer_context or {}
        request = renderer_context['request'] </s> remove             return self.get_raw_data_form(view, method, request, media_types)
 </s> add             return self.get_rendered_html_form(view, method, request) </s> remove         context = RequestContext(request, {'form': form_instance})
 </s> add         context = RequestContext(request, {'form': DynamicForm(data)})
    form_renderer_class = HTMLFormRenderer
      media_type = 'text/html'
      format = 'api'
      template = 'rest_framework/api.html'
      charset = 'utf-8'
    form_renderer_class = HTMLFormRenderer
  
      def get_default_renderer(self, view):
          """
          Return an instance of the first valid renderer.
keep keep keep add keep keep keep keep
 Cleanup and dealing with empty form data. 
rest_framework/renderers.py