Skip to content

Instantly share code, notes, and snippets.

@jsutch
Created May 11, 2016 23:41
Show Gist options
  • Save jsutch/518b60f656daad142617445bb9e082cd to your computer and use it in GitHub Desktop.
Save jsutch/518b60f656daad142617445bb9e082cd to your computer and use it in GitHub Desktop.
flask file
from flask import Flask, render_template
app= Flask(__name__)
@app.route('/')
@app.route('/success')
@app.route('/test')
def hello_world():
return render_template('index.html')
def success():
return render_template('success.html')
def test():
return "Working!"
app.run(debug=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment