Five bridges and patches to use Chameleon with Zope 2.
Python
Latest commit 64ee2bb Sep 12, 2016 @jensens jensens committed on GitHub Merge pull request #7 from zopefoundation/icemac-patch-1
Point to current documentation
Permalink
Failed to load latest commit information.
src/five Fix test_edit_with_errors to not import a private variable from zope.… Aug 8, 2016
.gitignore fix to work with Chameleon >= 2.14 and depend on it Jun 22, 2015
.travis.yml Updated Travis YAML. Mar 13, 2013
AUTHOR.rst added myself as contributor Jun 22, 2015
CHANGES.rst
MANIFEST.in post-git cleanup Mar 2, 2013
README.rst
bootstrap.py Update to latest v1 bootstrap Mar 12, 2013
buildout.cfg
setup.cfg check-manifest Feb 11, 2016
setup.py Start new development Apr 19, 2016
versions.cfg fix test Sep 20, 2013

README.rst

Overview

This package brings the Chameleon template engine to the Zope application server.

It works using monkey-patching onto the existing API (specifically, the TALInterpreter and PageTemplate classes). In simple terms, what the patching does is to replace the TAL interpreter class and make sure that the so-called "cooking" routine uses the Chameleon parser and compiler instead of the zope.* reference implementation.

Usage

To enable Chameleon, configure the package using ZCML:

<include package="five.pt" />

For more information on Chameleon, see http://chameleon.readthedocs.io/en/latest/.