<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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