diff options
| author | Blaise Laflamme <blaise@laflamme.org> | 2012-06-19 20:12:55 -0400 |
|---|---|---|
| committer | Blaise Laflamme <blaise@laflamme.org> | 2012-06-19 20:12:55 -0400 |
| commit | ea009a6d4a1ffa8585faa85581848f6e74a57dfc (patch) | |
| tree | 3ef83c62d129b58d78f06cf9ba2b24f3ce447bd2 /CHANGES.txt | |
| parent | b015d702d4c5367cd24fa05bd8d83462b6d59ac1 (diff) | |
| download | pyramid-ea009a6d4a1ffa8585faa85581848f6e74a57dfc.tar.gz pyramid-ea009a6d4a1ffa8585faa85581848f6e74a57dfc.tar.bz2 pyramid-ea009a6d4a1ffa8585faa85581848f6e74a57dfc.zip | |
added docs and changes for using defs in mako renderer
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 7c2af4451..3cb2f2848 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -41,3 +41,8 @@ Features - The static view machinery now raises (rather than returns) ``HTTPNotFound`` and ``HTTPMovedPermanently`` exceptions, so these can be caught by the NotFound view (and other exception views). + +- The mako renderer now accepts a def name and returns the template def + result for the view being called. The uri format using an asset spec is + package:path/to/template#defname.mako. The old way of returning a tuple + from the view is supported for backward compatibility, ('defname', {}). |
