      GET /1.0/something/ HTTP/1.1
      Host: example.com
      Accept: application/json
      """
      invalid_version_message = _("Invalid version in URL path.")
  
      def determine_version(self, request, *args, **kwargs):
          resolver_match = getattr(request, 'resolver_match', None)
          if (resolver_match is None or not resolver_match.namespace):
              return self.default_version
 
</s> remove     invalid_version_message = _("Invalid version in URL path.")
 </s> add     invalid_version_message = _('Invalid version in URL path.') </s> remove     invalid_version_message = _("Invalid version in query parameter.")
 </s> add     invalid_version_message = _('Invalid version in query parameter.') </s> remove     invalid_version_message = _("Invalid version in \"Accept\" header.")
 </s> add     invalid_version_message = _('Invalid version in "Accept" header.') </s> remove     invalid_version_message = _("Invalid version in hostname.")
 </s> add     invalid_version_message = _('Invalid version in hostname.') </s> remove             raise exceptions.AuthenticationFailed(_("Invalid username/password."))
 </s> add             raise exceptions.AuthenticationFailed(_('Invalid username/password.'))
    invalid_version_message = _('Invalid version in URL path.')
      GET /1.0/something/ HTTP/1.1
      Host: example.com
      Accept: application/json
      """
    invalid_version_message = _('Invalid version in URL path.')
  
      def determine_version(self, request, *args, **kwargs):
          resolver_match = getattr(request, 'resolver_match', None)
          if (resolver_match is None or not resolver_match.namespace):
              return self.default_version
keep keep keep keep replace keep keep keep keep keep
 prefer single quotes in source and double quotes in user visible strings; add some missing full stops to user visible strings 
rest_framework/versioning.py