          if self.view.CONTENTTYPE_PARAM is None or self.view.CONTENT_PARAM is None:
              return None
  
          # Okey doke, let's do it
          return GenericContentForm(resource)
  
  
      def render(self, obj=None, media_type=None):
          content = self._get_content(self.view, self.view.request, obj, media_type)
          form_instance = self._get_form_instance(self.view)
 
</s> remove                 self.fields[resource.CONTENT_PARAM] = forms.CharField(label='Content',
 </s> add                 self.fields[view.CONTENT_PARAM] = forms.CharField(label='Content', </s> remove     def _get_content(self, resource, request, obj, media_type):
 </s> add     def _get_content(self, view, request, obj, media_type): </s> remove         # TODO: Check if renderer.mimetype is underspecified, or if a content-type header has been set
 </s> add         # TODO: renderer.media_type isn't the right thing to do here... </s> remove         content = renderers[0](resource).render(obj, media_type)
 </s> add         content = renderers[0](view).render(obj, media_type) </s> remove         renderers = [renderer for renderer in resource.renderers if not isinstance(renderer, DocumentingTemplateRenderer)]
 </s> add         renderers = [renderer for renderer in view.renderers if not isinstance(renderer, DocumentingTemplateRenderer)]
        return GenericContentForm(view)
          if self.view.CONTENTTYPE_PARAM is None or self.view.CONTENT_PARAM is None:
              return None
  
          # Okey doke, let's do it
        return GenericContentForm(view)
  
  
      def render(self, obj=None, media_type=None):
          content = self._get_content(self.view, self.view.request, obj, media_type)
          form_instance = self._get_form_instance(self.view)
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