from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello_world():
    return "YHacks woooo"

if __name__ == '__main__':
    app.run()

@@ -143,8 +143,210 @@
 p.run()%0A
+%0A@app.route('/index')%0Adef index():%0A    user = %7B'nickname': 'Miguel'%7D  # fake user%0A    return render_template('index.html',%0A                           title='Home',%0A                           user=user)%0A

update main example