html, css, js를 이용하여 기본적인 웹페이지를 만들었다. flask를 이용하여 서버에 뛰울려고 한다. 처음에는 각 그래프마다 html을 만들어 render_template을 이용하였다.
Jinja란? 공식홈페이지에는 다음처럼 작성되어 있다.
--Jinja2 is a templating engine for Python.
templating engine은 무엇인가?
--A template processor (also known as a template engine or template parser) is software designed to combine templates with a data model to produce result documents.
->templating(문서 원형)과 data model을 혼합하여, 새로운 document를 만드는 것.이라고 해석할 수 있다.
어떻게 쓸 것인가?