docs: def _get_view_name(self, request):
          """Get view name."""
          method = request.method.lower()
          try:
              attributes = getattr(self, method)
              view_name = type(attributes.__self__).__module__ + '.' + type(attributes.__self__).__name__
              return view_name
          except AttributeError:
              return None