          return version
  
      def reverse(self, viewname, args=None, kwargs=None, request=None, format=None, **extra):
          if request.version is not None:
              viewname = self.get_versioned_viewname(viewname, request)
          return super(NamespaceVersioning, self).reverse(
              viewname, args, kwargs, request, format, **extra
          )
  
      def get_versioned_viewname(self, viewname, request):
 
</s> remove         url(r'^namespaced/(?P<pk>\d+)/$', dummy_view, name='namespaced'),
 </s> add         url(r'^namespaced/(?P<pk>\d+)/$', dummy_pk_view, name='namespaced'),
            versioned_viewname = self.get_versioned_viewname(viewname, request)
            try:
                return super(NamespaceVersioning, self).reverse(
                    versioned_viewname, args, kwargs, request, format, **extra
                )
            except NoReverseMatch:
                # If the versioned viewname lookup fails, fallback to the
                # default reversal, since it may be a non-API view
                pass

          return version
  
      def reverse(self, viewname, args=None, kwargs=None, request=None, format=None, **extra):
          if request.version is not None:
            versioned_viewname = self.get_versioned_viewname(viewname, request)
            try:
                return super(NamespaceVersioning, self).reverse(
                    versioned_viewname, args, kwargs, request, format, **extra
                )
            except NoReverseMatch:
                # If the versioned viewname lookup fails, fallback to the
                # default reversal, since it may be a non-API view
                pass

          return super(NamespaceVersioning, self).reverse(
              viewname, args, kwargs, request, format, **extra
          )
  
      def get_versioned_viewname(self, viewname, request):
keep keep keep keep replace keep keep keep keep keep
 Handle reversal of non-API view_name in HyperLinkedRelatedField 
rest_framework/versioning.py