My web app isn't working.
My directory structure:
mysite: -----Templates: ----------index.html ----------styles.css -----nearabl.py (my main)
I used a virtual environment and installed all the packages I needed. It workes on my machine.
My web app isn't working.
My directory structure:
mysite: -----Templates: ----------index.html ----------styles.css -----nearabl.py (my main)
I used a virtual environment and installed all the packages I needed. It workes on my machine.
Looks like Jinja is not looking for your templates where you expect it to look. See https://flask.palletsprojects.com/en/1.1.x/api/#flask.Flask.template_folder
I think if you change the name of your folder "Templates" to "templates" will work.
That would be default, so it should work.