Mercurial > p > roundup > code
changeset 4723:42f6c76950a4
Cancel version bump to 1.5.0 - the impact is minimal, so just update
the docs and mention renames in templating layer in CHANGES.txt
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Fri, 11 Jan 2013 01:16:59 +0300 |
| parents | f7e68ae4926c |
| children | 98b727b6f7f8 |
| files | CHANGES.txt doc/customizing.txt |
| diffstat | 2 files changed, 12 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Fri Jan 11 00:46:23 2013 +0300 +++ b/CHANGES.txt Fri Jan 11 01:16:59 2013 +0300 @@ -3,15 +3,12 @@ Each entry has the developer who committed the change in brackets. Entries without name were done by Richard Jones. -2013-??-??: 1.5.0 +2013-??-??: 1.4.22 Features: -- API changes. Renamed templating members to correctly reflect - the purpose of classes and avoid confusion (anatoly techtonik) - templating.TemplatesBase -> templating.LoaderBase - engine_chameleon.Templates -> engine_chameleon.Loader - engine_zopetal.Templates -> engine_zopetal.Loader +- Renamed old Templates classes to Loader classes to clarify sources + for alternative templating engines, updated docs (anatoly techtonik) Fixed:
--- a/doc/customizing.txt Fri Jan 11 00:46:23 2013 +0300 +++ b/doc/customizing.txt Fri Jan 11 01:16:59 2013 +0300 @@ -1655,9 +1655,9 @@ Since version 1.4.20 Roundup supports two templating engines: the original `Template Attribute Language`_ (TAL) engine from Zope and the standalone Chameleon templating engine. Chameleon is intended as a replacement for the -original TAL engine, and supports a syntax that is very similiar to the it, +original TAL engine, and supports the same syntax, but they are not 100% compatible. The major (and most likely the only) -incompatibility to worry about is the default expression type being +incompatibility is the default expression type being ``python:`` instead of ``path:``. See also "Incompatibilities and differences" section of `Chameleon documentation`__. @@ -2449,13 +2449,13 @@ The templates variable ~~~~~~~~~~~~~~~~~~~~~~ -This is implemented by the ``roundup.cgi.templating.Templates`` -class. - -This variable doesn't have any useful methods defined. It supports being -used in expressions to access the templates, and consequently the -template macros. You may access the templates using the following path -expression:: +This was implemented by the ``roundup.cgi.templating.Templates`` +class before 1.4.20. In later versions it is the instance of appropriate +template engine loader class. + +This variable is used to access other templates in expressions and +template macros. It doesn't have any useful methods defined. The +templates can be accessed using the following path expression:: templates/name
