For a start, your template doesn't have any variables in it, does it? Did you even try the example from the Flask docs like I suggested? It shows you all the pieces - the template and passing variable data to it. OK, the example is a bit different, since the data are passed in the request URL, but that's really not the point. It's just some data that's passed to
How have you been learning how to use Flask, or build a web application in general? It seems like there are a lot of gaps. Maybe try going through Grinberg's tutorial, because I think he explains quite a lot.
render_template
and the final HTML is generated from that.How have you been learning how to use Flask, or build a web application in general? It seems like there are a lot of gaps. Maybe try going through Grinberg's tutorial, because I think he explains quite a lot.