          """Returns a form that allows for arbitrary content types to be tunneled via standard HTML forms
          (Which are typically application/x-www-form-urlencoded)"""
  
          # If we're not using content overloading there's no point in supplying a generic form,
          # as the resource won't treat the form's value as the content of the request.
          if not getattr(resource, 'USE_FORM_OVERLOADING', False):
              return None
  
          # NB. http://jacobian.org/writing/dynamic-form-generation/
          class GenericContentForm(forms.Form):
              def __init__(self, resource):
 
</s> remove     def _get_generic_content_form(self, resource):
 </s> add     def _get_generic_content_form(self, view): </s> remove             def __init__(self, resource):
 </s> add             def __init__(self, view): </s> remove     def _get_form_instance(self, resource):
 </s> add     def _get_form_instance(self, view): </s> remove             form_instance = self._get_generic_content_form(resource)
 </s> add             form_instance = self._get_generic_content_form(view) </s> remove     def _get_content(self, resource, request, obj, media_type):
 </s> add     def _get_content(self, view, request, obj, media_type):
        # as the view won't treat the form's value as the content of the request.
        if not getattr(view, 'USE_FORM_OVERLOADING', False):
          """Returns a form that allows for arbitrary content types to be tunneled via standard HTML forms
          (Which are typically application/x-www-form-urlencoded)"""
  
          # If we're not using content overloading there's no point in supplying a generic form,
        # as the view won't treat the form's value as the content of the request.
        if not getattr(view, 'USE_FORM_OVERLOADING', False):
        # as the view won't treat the form's value as the content of the request.
        if not getattr(view, 'USE_FORM_OVERLOADING', False):
              return None
  
          # NB. http://jacobian.org/writing/dynamic-form-generation/
          class GenericContentForm(forms.Form):
              def __init__(self, resource):
keep keep keep keep replace replace keep keep keep keep keep
 Rename resource to view in few remaining places in renderers (because that's what it now is) 
djangorestframework/renderers.py