9👍
✅
I can get the name by
self.context['view'].__class__.__name__
# or type(self.context['view']).__name__ something like that.
Source:stackexchange.com