  
                  contenttype_choices = [(media_type, media_type) for media_type in resource.parsed_media_types]
                  initial_contenttype = resource.default_parser.media_type
  
                  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)
  
 
</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                 self.fields[resource.CONTENT_PARAM] = forms.CharField(label='Content',
 </s> add                 self.fields[view.CONTENT_PARAM] = forms.CharField(label='Content', </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)] </s> remove         return GenericContentForm(resource)
 </s> add         return GenericContentForm(view)
                self.fields[view.CONTENTTYPE_PARAM] = forms.ChoiceField(label='Content Type',
  
                  contenttype_choices = [(media_type, media_type) for media_type in resource.parsed_media_types]
                  initial_contenttype = resource.default_parser.media_type
  
                self.fields[view.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)
  
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