jpscontracting/run_site.py

12 lines
229 B
Python
Raw Normal View History

2017-01-12 18:08:01 +00:00
from flask import Flask, render_template
2017-01-12 13:06:39 +00:00
app = Flask(__name__)
@app.route('/')
def index():
2017-01-12 18:08:01 +00:00
return render_template('index.html', title="Index - JPs")
2017-01-12 13:06:39 +00:00
@app.route('/test')
def test():
return render_template('test.html')