def get_view(self):
view_class = self.get_view_class()<EOL>if view_class is None:<EOL><INDENT>if hasattr(self, '<STR_LIT>') and self.view:<EOL><INDENT>return self.view<EOL><DEDENT>raise NotImplementedError('<STR_LIT>')<EOL><DEDENT>return view_class.as_view()<EOL>
Returns the view ``.as_view()``