raise TemplateNotFound(template) jinja2.exceptions.TemplateNotFound: homepage.html code example
Example: jinja2.exceptions.templatenotfound: templates/index.html
app = Flask(__name__, template_folder={path of template directory})
app = Flask(__name__, template_folder={path of template directory})