Integration

Integration with Chameleon is available for a number of popular web frameworks. The framework will usually provide loading mechanisms and translation (internationalization) configuration.

Pyramid

Chameleon is the default template engine for the Pyramid framework. See the section on Page Templates for a complete reference.

Zope 2 / Plone

Install the five.pt package to replace the reference template engine (globally).

Zope Toolkit (ZTK)

Install the z3c.pt package for applications based on the Zope Toolkit (ZTK). Note that you need to explicit use the template classes from this package.

Grok

Support for the Grok framework is available in the grokcore.chameleon package.

This package will setup Grok’s policy for templating integration and associate the Chameleon template components for the .cpt template filename extension.

Table Of Contents

Previous topic

Language Reference

Next topic

Configuration

This Page