summaryrefslogtreecommitdiff
path: root/examples/basic/debugger.py
blob: 9fa110c1cdfbc6ca24a217b05199c0b13cadfc65 (plain)
1
2
3
4
5
6
7
8
from __future__ import print_function

from jinja import Environment
from jinja.loaders import FileSystemLoader

env = Environment(loader=FileSystemLoader("templates"))
tmpl = env.get_template("broken.html")
print(tmpl.render(seq=[3, 2, 4, 5, 3, 2, 0, 2, 1]))