From e6aa662ae276c6bfdd256d8e268e20ebbef89ca9 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Wed, 16 Apr 2008 23:15:41 +0200 Subject: [PATCH] added broken example template for debugger testing --HG-- branch : trunk --- examples/debugger.py | 7 +++++++ examples/templates/broken.html | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 examples/debugger.py create mode 100644 examples/templates/broken.html diff --git a/examples/debugger.py b/examples/debugger.py new file mode 100644 index 0000000..52a8be2 --- /dev/null +++ b/examples/debugger.py @@ -0,0 +1,7 @@ +from jinja2 import Environment +from jinja2.loaders import FileSystemLoader + +env = Environment(loader=FileSystemLoader('templates')) + +tmpl = env.get_template('broken.html') +print tmpl.render(seq=range(10)) diff --git a/examples/templates/broken.html b/examples/templates/broken.html new file mode 100644 index 0000000..bbd5bf4 --- /dev/null +++ b/examples/templates/broken.html @@ -0,0 +1,5 @@ + -- 2.26.2