Hi all, I have been working on a small flask application recently, it works perfectly on my local PC, however, it is unable to render templates without throwing a jinja2.exceptions.TemplateNotFound error.
Here's the code i'm using to test flask out:
app = Flask("app", static_folder='static', template_folder="templates") @app.route("/") def index(): return render_template('home.html')
I'm fairly certain my directory structure is right, with main.py in the same folder as templates and static. I don't know what could be wrong here, any suggestions?