Mercurial > genshi > mirror
comparison UPGRADE.txt @ 233:88ec2b306296 trunk
* Added implementation of a simple text-based template engine. Closes #47.
* Added upgrade instructions.
author | cmlenz |
---|---|
date | Tue, 12 Sep 2006 13:30:26 +0000 |
parents | |
children | 7763f7aec949 |
comparison
equal
deleted
inserted
replaced
232:43d3f2d2ec9d | 233:88ec2b306296 |
---|---|
1 Upgrading Genshi | |
2 ================ | |
3 | |
4 Upgrading from Markup | |
5 --------------------- | |
6 | |
7 Prior to version 0.3, the name of the Genshi project was "Markup". The | |
8 name change means that you will have to adjust your import statements | |
9 and the namespace URI of XML templates, among other things: | |
10 | |
11 * The package name was changed from "markup" to "genshi". Please | |
12 adjust any import statements referring to the old package name. | |
13 * The namespace URI for directives in Genshi XML templates has changed | |
14 from http://markup.edgewall.org/ to http://genshi.edgewall.org/. | |
15 Please update the xmlns:py declaration in your template files | |
16 accordingly. | |
17 | |
18 Furthermore, due to the inclusion of a text-based template language, | |
19 the class: | |
20 | |
21 `markup.template.Template` | |
22 | |
23 has been renamed to: | |
24 | |
25 `markup.template.MarkupTemplate` | |
26 | |
27 If you've been using the Template class directly, you'll need to | |
28 update your code (a simple find/replace should do--the API itself | |
29 did not change). |