      Base class for REST framework exceptions.
      Subclasses should provide `.status_code` and `.default_detail` properties.
      """
      status_code = status.HTTP_500_INTERNAL_SERVER_ERROR
      default_detail = _('A server error occurred')
  
      def __init__(self, detail=None):
          if detail is not None:
              self.detail = force_text(detail)
          else:
 
</s> remove     default_detail = _('Could not satisfy the request Accept header')
 </s> add     default_detail = _('Could not satisfy the request Accept header.') </s> remove msgid "A server error occurred"
 </s> add msgid "A server error occurred." </s> remove                 raise Http404(_("Page is not 'last', and cannot be converted to an int."))
 </s> add                 raise Http404(_("Choose a valid page number. Page numbers must be a whole number, or must be the string 'last'.")) </s> remove         'max_string_length': _('String value too large')
 </s> add         'max_string_length': _('String value too large.') </s> remove         'not_a_list': _('Expected a list of items but got type `{input_type}`')
 </s> add         'not_a_list': _('Expected a list of items but got type `{input_type}`.')
    default_detail = _('A server error occurred.')
      Base class for REST framework exceptions.
      Subclasses should provide `.status_code` and `.default_detail` properties.
      """
      status_code = status.HTTP_500_INTERNAL_SERVER_ERROR
    default_detail = _('A server error occurred.')
  
      def __init__(self, detail=None):
          if detail is not None:
              self.detail = force_text(detail)
          else:
keep keep keep keep replace keep keep keep keep keep
 update error messages for language and consistency 
rest_framework/exceptions.py