jinja html table code example
Example: tables in jinja template
items = []
for i in range(1, 11):
i = str(i)
# dict == {}
# you just don't have to quote the keys
an_item = dict(date="2012-02-" + i, id=i, position="here", status="waiting")
items.append(an_item)
# ... your code here ...
template.render(items=items)