code: def detail_view(self, request, instance_pk):
          
          kwargs = {'model_admin': self, 'instance_pk': instance_pk}
          view_class = self.detail_view_class
          return view_class.as_view(**kwargs)(request)
docs: Instantiates a class-based view to provide 'inspect' functionality for
          the assigned model. The view class used can be overridden by changing
          the 'inspect_view_class' attribute.