Views rendering for webpage

Hello all,
How are views rendered and what files/functions call the rendering.
For example, in a standard flask project, the file views.py manages views the following way:

@app.route(‘/about’)
def about():
“”“Renders the about page.”“”
return render_template(
‘about.html’,
title=‘About’,
year=datetime.now().year,
message=‘Your application description page.’
)

How does frappe generate views and what python files call the templates for rendering.

Hi you can start searching the frappe repository. If your IDE is powerful enough to drill down to those functions by simply ctrl+clicking render_template()

All i can find are js files, are the pages rendered through js?

I don’t really have a powerful IDE, just using sublime and logging to server to check files file by file.