Skip to content
Snippets Groups Projects
myFlaskProject.py 332 B
Newer Older
  • Learn to ignore specific revisions
  • from flask import Flask, render_template
    
    app = Flask(__name__,template_folder='./templates')
    
    @app.route("/")
    def index():
    
    @app.route("/list.html")
    
        return render_template('list.html',
                                projects = data)