  
                  self.fields[resource.CONTENTTYPE_PARAM] = forms.ChoiceField(label='Content Type',
                                                                              choices=contenttype_choices,
                                                                              initial=initial_contenttype)
                  self.fields[resource.CONTENT_PARAM] = forms.CharField(label='Content',
                                                                        widget=forms.Textarea)
  
          # If either of these reserved parameters are turned off then content tunneling is not possible
          if self.view.CONTENTTYPE_PARAM is None or self.view.CONTENT_PARAM is None:
              return None
 
</s> remove                 self.fields[resource.CONTENTTYPE_PARAM] = forms.ChoiceField(label='Content Type',
 </s> add                 self.fields[view.CONTENTTYPE_PARAM] = forms.ChoiceField(label='Content Type', </s> remove         return GenericContentForm(resource)
 </s> add         return GenericContentForm(view) </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     def _get_form_instance(self, resource):
 </s> add     def _get_form_instance(self, view): </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):
                self.fields[view.CONTENT_PARAM] = forms.CharField(label='Content',
  
                  self.fields[resource.CONTENTTYPE_PARAM] = forms.ChoiceField(label='Content Type',
                                                                              choices=contenttype_choices,
                                                                              initial=initial_contenttype)
                self.fields[view.CONTENT_PARAM] = forms.CharField(label='Content',
                                                                        widget=forms.Textarea)
  
          # If either of these reserved parameters are turned off then content tunneling is not possible
          if self.view.CONTENTTYPE_PARAM is None or self.view.CONTENT_PARAM is None:
              return None
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