          response = view.response
  
          content = self._get_content(view, request, obj, media_type)
  
          put_form_instance = self._get_form_instance(self.view, 'put')
          post_form_instance = self._get_form_instance(self.view, 'post')
  
          name = self.get_name()
          description = self.get_description()
  
          breadcrumb_list = get_breadcrumbs(self.view.request.path)
 
</s> remove         content = self._get_content(view, request, obj, media_type)
 </s> add         content = self.get_content(view, request, obj, media_type) </s> remove     def _get_content(self, view, request, obj, media_type):
 </s> add     def get_content(self, view, request, obj, media_type): </s> remove                 self.fields[request._CONTENTTYPE_PARAM] = forms.ChoiceField(label='Content Type',
                                                                         choices=contenttype_choices,
                                                                         initial=initial_contenttype)
                self.fields[request._CONTENT_PARAM] = forms.CharField(label='Content',
                                                                   widget=forms.Textarea)
 </s> add                 self.fields[api_settings.FORM_CONTENTTYPE_OVERRIDE] = forms.ChoiceField(
                    label='Content Type',
                    choices=contenttype_choices,
                    initial=initial_contenttype
                )
                self.fields[api_settings.FORM_CONTENT_OVERRIDE] = forms.CharField(
                    label='Content',
                    widget=forms.Textarea
                ) </s> remove         if hasattr(self.view, 'object'):
            object = self.view.object
        serializer = self.view.get_serializer(instance=object)
 </s> add         if getattr(view, 'object', None):
            object = view.object
        serializer = view.get_serializer(instance=object) </s> remove     def check_permissions(self, request, obj=None):
 </s> add     def has_permission(self, request, obj=None):
        put_form = self.get_form(view, 'PUT', request)
        post_form = self.get_form(view, 'POST', request)
        delete_form = self.get_form(view, 'DELETE', request)
        options_form = self.get_form(view, 'OPTIONS', request)
          response = view.response
  
          content = self._get_content(view, request, obj, media_type)
  
        put_form = self.get_form(view, 'PUT', request)
        post_form = self.get_form(view, 'POST', request)
        delete_form = self.get_form(view, 'DELETE', request)
        options_form = self.get_form(view, 'OPTIONS', request)
        put_form = self.get_form(view, 'PUT', request)
        post_form = self.get_form(view, 'POST', request)
        delete_form = self.get_form(view, 'DELETE', request)
        options_form = self.get_form(view, 'OPTIONS', request)
  
          name = self.get_name()
          description = self.get_description()
  
          breadcrumb_list = get_breadcrumbs(self.view.request.path)
keep keep keep keep replace replace keep keep keep keep keep
 Only display forms when user has permissions.  #159 
rest_framework/renderers.py