          The context used in the template contains all the information
          needed to self-document the response to this request.
          """
          content = self._get_content(self.view, self.view.request, obj, media_type)
          form_instance = self._get_form_instance(self.view)
  
          if url_resolves(settings.LOGIN_URL) and url_resolves(settings.LOGOUT_URL):
              login_url = "%s?next=%s" % (settings.LOGIN_URL, quote_plus(self.view.request.path))
              logout_url = "%s?next=%s" % (settings.LOGOUT_URL, quote_plus(self.view.request.path))
          else:
 
</s> remove     # Allow name and description for the Resource to be set explicitly,
    # overiding the default classname/docstring behaviour.
    # These are used for documentation in the standard html and text renderers.
    name = None
    description = None
 </s> add  </s> remove         form_instance = getattr(view, 'bound_form_instance', None)
 </s> add         form_instance = None
        if method == view.method.lower():
            form_instance = getattr(view, 'bound_form_instance', None) </s> remove                     form_instance = view.get_bound_form(view.response.cleaned_content)
 </s> add                     form_instance = view.get_bound_form(view.response.cleaned_content, method=method) </s> remove         if not self.form:
 </s> add         # A form on the view overrides a form on the resource.
        form = getattr(self.view, 'form', self.form)

        # Use the requested method or determine the request method
        if method is None and hasattr(self.view, 'request') and hasattr(self.view, 'method'):
            method = self.view.method
        elif method is None and hasattr(self.view, 'request'):
            method = self.view.request.method

        # A method form on the view or resource overrides the general case.
        # Method forms are attributes like `get_form` `post_form` `put_form`.
        if method:
            form = getattr(self, '%s_form' % method.lower(), form)
            form = getattr(self.view, '%s_form' % method.lower(), form)

        if not form: </s> remove     This can be overridden by a :attr:`model` attribute on the :class:`.View`.
 </s> add     This can be overridden by a :attr:`model` attribute on the :class:`views.View`.
        put_form_instance = self._get_form_instance(self.view, 'put')
        post_form_instance = self._get_form_instance(self.view, 'post')
          The context used in the template contains all the information
          needed to self-document the response to this request.
          """
          content = self._get_content(self.view, self.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')
  
          if url_resolves(settings.LOGIN_URL) and url_resolves(settings.LOGOUT_URL):
              login_url = "%s?next=%s" % (settings.LOGIN_URL, quote_plus(self.view.request.path))
              logout_url = "%s?next=%s" % (settings.LOGOUT_URL, quote_plus(self.view.request.path))
          else:
keep keep keep keep replace keep keep keep keep keep
 Allow .form specified on view.  Allow get_form, put_form, post_form.  Add .PARAMS. 
djangorestframework/renderers.py