Skip to content
Myr

broken.html

This file

Path

examples/basic/templates/broken.html

6 lines · 124 bytes · HTML

Last changed by

Improved Jinja's debugging support by introducing "@internalcode" which marks code objects that are skipped on tracebacks. Also template errors are now translated as well to help the pylons debugger.Armin Ronacherbefore adoptiond416a97

History of this file

Take it

The walk stopped after 200 commits: lines older than 0a2ac69 point at it.

Improved Jinja's debugging support by introducing "@internalcode" which marks code objects that are skipped on tracebacks. Also template errors are now translated as well to help the pylons debugger.Armin Ronacherbefore adoptiond416a97

line 1why, one step back
1{% from 'subbroken.html' import may_break %}

switched back to explicit set for assignments. {% foo = 42 %} becomes {% set foo = 42 %} and {% foo.something() }} becomes {{ void(foo.something() }} with this commit.Armin Ronacherbefore adoption0a2ac69

lines 2–3why, one step back
2<ul>
3{% for item in seq %}

Improved Jinja's debugging support by introducing "@internalcode" which marks code objects that are skipped on tracebacks. Also template errors are now translated as well to help the pylons debugger.Armin Ronacherbefore adoptiond416a97

line 4why, one step back
4 <li>{{ may_break(item) }}</li>

switched back to explicit set for assignments. {% foo = 42 %} becomes {% set foo = 42 %} and {% foo.something() }} becomes {{ void(foo.something() }} with this commit.Armin Ronacherbefore adoption0a2ac69

lines 5–6why, one step back
5{% endfor %}
6</ul>