diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-04-06 18:00:20 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-04-06 18:00:20 -0400 |
| commit | 4a19e4d9d9b2f952e9afd93311ef19dc395ac46a (patch) | |
| tree | 5b8892d2ad46c2827ac16e5052f11d1abb207c70 /CHANGES | |
| parent | 266abebaf9aad33e139f5f2ebd50ad604d6f3f86 (diff) | |
| download | external_python_mako-4a19e4d9d9b2f952e9afd93311ef19dc395ac46a.tar.gz external_python_mako-4a19e4d9d9b2f952e9afd93311ef19dc395ac46a.tar.bz2 external_python_mako-4a19e4d9d9b2f952e9afd93311ef19dc395ac46a.zip | |
- New tag: <%block>. A variant on <%def> that
evaluates its contents in-place.
Can be named or anonymous,
the named version is intended for inheritance
layouts where any given section can be
surrounded by the <%block> tag in order for
it to become overrideable by inheriting
templates, without the need to specify a
top-level <%def> plus explicit call.
Modified scoping and argument rules as well as a
more strictly enforced usage scheme make it ideal
for this purpose without at all replacing most
other things that defs are still good for.
Lots of new docs. [ticket:164]
Diffstat (limited to 'CHANGES')
| -rw-r--r-- | CHANGES | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,4 +1,19 @@ 0.4.1 +- New tag: <%block>. A variant on <%def> that + evaluates its contents in-place. + Can be named or anonymous, + the named version is intended for inheritance + layouts where any given section can be + surrounded by the <%block> tag in order for + it to become overrideable by inheriting + templates, without the need to specify a + top-level <%def> plus explicit call. + Modified scoping and argument rules as well as a + more strictly enforced usage scheme make it ideal + for this purpose without at all replacing most + other things that defs are still good for. + Lots of new docs. [ticket:164] + - a slight adjustment to the "highlight" logic for generating template bound stacktraces. Will stick to known template source lines |
