  
  
  class NotAcceptable(APIException):
      status_code = status.HTTP_406_NOT_ACCEPTABLE
      default_detail = _('Could not satisfy the request Accept header')
  
      def __init__(self, detail=None, available_renderers=None):
          if detail is not None:
              self.detail = force_text(detail)
          else:
 
</s> remove     default_detail = _('A server error occurred')
 </s> add     default_detail = _('A server error occurred.') </s> remove msgid "Could not satisfy the request Accept header"
 </s> add msgid "Could not satisfy the request Accept header." </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         '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}`.') </s> remove             'Upload a valid image. The file you uploaded was either not an '
            'image or a corrupted image.'
 </s> add             'Upload a valid image. The file you uploaded was either not an image or a corrupted image.'
    default_detail = _('Could not satisfy the request Accept header.')
  
  
  class NotAcceptable(APIException):
      status_code = status.HTTP_406_NOT_ACCEPTABLE
    default_detail = _('Could not satisfy the request Accept header.')
  
      def __init__(self, detail=None, available_renderers=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