Flask-Workshop/04-template-inheritance.py

9 lines
175 B
Python

from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def page1():
return render_template('page1.html')
if __name__ == '__main__':
app.run()