This is accurate for you, although be sure to specify the relative path to the view in the / views folder. So, if you have / views / default / other _view.html, you can do:
response.view = 'default/other_view.html'
You can also directly visualize any view:
def myfunc(): context = dict(...) return response.render('default/other_view.html', context)
See here and here .
source share