          }
          return [perm % kwargs for perm in self.perms_map[method]]
  
      def has_permission(self, request, view):
          model_cls = getattr(view, 'model', None)
          queryset = getattr(view, 'queryset', None)
  
          if model_cls is None and queryset is not None:
 
</s> remove             'it does not have a `.model` or `.queryset` attribute.'
 </s> add             'it does not have a `.queryset` attribute.'
        # Note that `.model` attribute on views is deprecated, although we
        # enforce the deprecation on the view `get_serializer_class()` and
        # `get_queryset()` methods, rather than here.
          }
          return [perm % kwargs for perm in self.perms_map[method]]
  
      def has_permission(self, request, view):
        # Note that `.model` attribute on views is deprecated, although we
        # enforce the deprecation on the view `get_serializer_class()` and
        # `get_queryset()` methods, rather than here.
          model_cls = getattr(view, 'model', None)
          queryset = getattr(view, 'queryset', None)
  
          if model_cls is None and queryset is not None:
keep keep keep add keep keep keep keep
 Deprecate .model in related routers/permissions 
rest_framework/permissions.py