              return None
  
          # NB. http://jacobian.org/writing/dynamic-form-generation/
          class GenericContentForm(forms.Form):
              def __init__(self, resource):
                  """We don't know the names of the fields we want to set until the point the form is instantiated,
                  as they are determined by the Resource the form is being created against.
                  Add the fields dynamically."""
                  super(GenericContentForm, self).__init__()
  
 
</s> remove                 contenttype_choices = [(media_type, media_type) for media_type in resource.parsed_media_types]
                initial_contenttype = resource.default_parser.media_type
 </s> add                 contenttype_choices = [(media_type, media_type) for media_type in view.parsed_media_types]
                initial_contenttype = view.default_parser.media_type </s> remove         # as the resource won't treat the form's value as the content of the request.
        if not getattr(resource, 'USE_FORM_OVERLOADING', False):
 </s> add         # as the view won't treat the form's value as the content of the request.
        if not getattr(view, 'USE_FORM_OVERLOADING', False): </s> remove     def _get_generic_content_form(self, resource):
 </s> add     def _get_generic_content_form(self, view): </s> remove     def _get_content(self, resource, request, obj, media_type):
 </s> add     def _get_content(self, view, request, obj, media_type): </s> remove     def _get_form_instance(self, resource):
 </s> add     def _get_form_instance(self, view):
            def __init__(self, view):
              return None
  
          # NB. http://jacobian.org/writing/dynamic-form-generation/
          class GenericContentForm(forms.Form):
            def __init__(self, view):
                  """We don't know the names of the fields we want to set until the point the form is instantiated,
                  as they are determined by the Resource the form is being created against.
                  Add the fields dynamically."""
                  super(GenericContentForm, self).__init__()
  
keep keep keep keep 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