I am trying to render the file index.html
, but I keep getting
jinja2.exceptions.TemplateNotFound: index.html
when I try to render it. Why can't Flask find my template
app=Flask(__name__,template_folder='templates')
@app.route("/")
def index():
return render_template('index.html')
and my file location is like (i chance Tamplates to tamplates)