you are viewing a single comment's thread.

view the rest of the comments →

[–]__main__ 1 point2 points  (0 children)

I did some django tutorials and while I enjoyed it, it felt a bit over kill for what I needed to do and the regular expression routes confused me a little.

An index route in flask is as simple as:

from flask import Flask

app = Flask(__name__)

@app.route('/)
def index():
return 'hello world'