comparison UPGRADE.txt @ 592:7145e4eba2ec

Add a new syntax for text templates, which is available alongside the old syntax for now. The new syntax is more poweful and flexible, using Django-style directive notation.
author cmlenz
date Mon, 13 Aug 2007 12:40:56 +0000
parents 0ed55216e8f2
children
comparison
equal deleted inserted replaced
590:880b1a75d046 592:7145e4eba2ec
1 Upgrading Genshi 1 Upgrading Genshi
2 ================ 2 ================
3
4 Upgrading from Genshi 0.4.x to 0.5.x
5 ------------------------------------
6
7 Genshi 0.5 introduces a new, alternative syntax for text templates, which is
8 more flexible and powerful compared to the old syntax. For backwards
9 compatibility, this new syntax is not used by default, though it will be in
10 a future version. It is recommended that you migrate to using this new syntax.
11 To do so, simply rename any references in your code to `TextTemplate` to
12 `NewTextTemplate`. To explicitly use the old syntax, use `OldTextTemplate`
13 instead, so that you can be sure you'll be using the same language when the
14 default in Genshi is changed (at least until the old implementation is
15 completely removed).
16
3 17
4 Upgrading from Genshi 0.3.x to 0.4.x 18 Upgrading from Genshi 0.3.x to 0.4.x
5 ------------------------------------ 19 ------------------------------------
6 20
7 The modules ``genshi.filters`` and ``genshi.template`` have been 21 The modules ``genshi.filters`` and ``genshi.template`` have been
Copyright (C) 2012-2017 Edgewall Software