Five bridges and patches to use Chameleon with Zope 2.
Python
Latest commit 6aaf0c6 Jun 22, 2017 @jensens jensens committed on GitHub Fixes: "UserWarning: Normalizing '2.2.5-dev' to '2.2.5.dev0'" on deve…
…lopment install

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/.