Flask App in 5 Minutes
I'm a fan of Flask. Flask is a micro web framework written in Python.
Here's a quick start guide to creating a new Flask application.
Create a new directory.
Create a file called web.py with this contents:
from routes import app
if __name__ == ...
blog.ajbothe.com5 min read
olivier de Ipanema Moreira
curious
Very Nice and simple set up. I bumped into it while looking for HTMX resources.So I will look very closely to your other post about HTMX.
In your blog post I noticed two small typos in your routes.py. @app.route('/welcome') def hello(): name = 'AJ' return render_template("index.html", value=name)
The default route is simply @app.route('/') and the rendering should be name=name rather than value=name.
Again Thanks for your post !!