def _get_view_name(self, request):
method = request.method.lower()<EOL>try:<EOL><INDENT>attributes = getattr(self, method)<EOL>view_name = type(attributes.__self__).__module__ + '<STR_LIT:.>' + type(attributes.__self__).__name__<EOL>return view_name<EOL><DEDENT>except AttributeError:<EOL><INDENT>return None<EOL><DEDENT>
Get view name.