Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

nested list flask

from flask import Flask, render_template

from teachers import TEACHERS

app = Flask(__name__)


@app.route('/')
def index():
    return render_template("teachers.html", teachers=TEACHERS)
Source by teamtreehouse.com #
 
PREVIOUS NEXT
Tagged: #nested #list #flask
ADD COMMENT
Topic
Name
9+5 =