  
  
  def get_view_description(view, html=False):
      """
      Given a view class, return a textual description to represent the view.
      This name is used in the browsable API, and in OPTIONS responses.
  
      This function is the default for the `VIEW_DESCRIPTION_FUNCTION` setting.
      """
      # Description may be set by some Views, such as a ViewSet.
 
</s> remove     Given a view class, return a textual name to represent the view.
 </s> add     Given a view instance, return a textual name to represent the view. </s> remove def action(methods=None, detail=None, name=None, url_path=None, url_name=None, **kwargs):
 </s> add def action(methods=None, detail=None, url_path=None, url_name=None, **kwargs): </s> remove         for name in ['mapping', 'detail', 'name', 'url_path', 'url_name', 'kwargs']:
 </s> add         for name in ['mapping', 'detail', 'url_path', 'url_name', 'kwargs']: </s> remove         assert test_action.name == 'Test action'
 </s> add 
    Given a view instance, return a textual description to represent the view.
  
  
  def get_view_description(view, html=False):
      """
    Given a view instance, return a textual description to represent the view.
      This name is used in the browsable API, and in OPTIONS responses.
  
      This function is the default for the `VIEW_DESCRIPTION_FUNCTION` setting.
      """
      # Description may be set by some Views, such as a ViewSet.
keep keep keep keep replace keep keep keep keep keep
 Fix action support for ViewSet suffixes (#6081)

* Add suffix support for actions

Removes the newly introduced `action.name` in favor of leveraging the
View's `.get_view_name()` method, which supports both name and suffix.

* Fix view description func docstrings

* Test action decorator name & suffix kwargs

* Adjust 'extra action' docs 
rest_framework/views.py