Zope-compatible page template engine based on Chameleon.
This package provides a page template engine implementation based on Chameleon. It plugs into the zope.pagetemplate package and has an explicit dependency on this package.
You can use the package to replace Zope’s reference template engine with Chameleon in an application based on the Zope Toolkit.
The package is configured via ZCML.
- Added support for Python 3.4, 3.5, PyPy and PyPy3.
- Dropped support for Python 2.6.
- Added support for Python 3.3.
- Ensured that chameleon.tal.ReapeatDict can be adapted. (Needs to be fixed in Chameleon.)
- Replaced deprecated zope.interface.implements usage with equivalent zope.interface.implementer decorator.
- Dropped support for Python 2.4 and 2.5.
- Move zope.testing to test dependencies, add undeclared dependencies.
Update implementation to use component-based template engine configuration, plugging directly into the Zope Toolkit framework.
The package no longer provides template classes, or ZCML directives; you should import directly from the ZTK codebase.
Also, note that the PREFER_Z3C_PT environment option has been rendered obsolete; instead, this is now managed via component configuration.
Upgrade to Chameleon 2.x.
- Added not yet declared test dependency on zope.testing.
- Fixed test tear down so tests can be run multiple times.
- Remove broken templates from registry during engine migration. In some testing situation, stale templates would be tracked in the regsitry.
- Existing template instances are now migrated to the right engine when using the enable and disable methods. [malthe]
- Make tests pass in a binary release by not relying on the pacakge structure.
- Added a test requirement explicitely.
- Added support for browser:addform, browser:editform, browser:form, and browser:schemadisplay directives.
- Fixing brown-bag release 0.5.1.
- Added missing lxml test dependency.
- Fixed tests to work with current version of z3c.pt.
- Fixed autor e-mail address.
- Added doctests and change log to long description to show up at pypi homepage.
- Reformatted release dates in change log to use iso dates.
- Added module which patches zope.app.pagetemplate such that template classes depend on z3c.pt for rendering (import optional). [malthe]
- Rename project to z3c.ptcompat to deal with setuptools issues (as discussed on zope-dev http://mail.zope.org/pipermail/zope-dev/2008-December/033820.html)
- Added optional option doctest for output checker to allow usage with alternative implementations, e.g. the Zope doctest module. [malthe]
- Added tests for meta-directives and fixed some minor errors. [malthe]
- Added update-tool to walk a source tree and automatically rewrite template import statements in each file. [malthe]
- Added meta-directives for browser pages and viewlets. These build upon the original implementations, but make sure that the Chameleon template engine is used. [malthe]
- Added PageTemplateFile. [malthe]
- Various changes.
- Various changes.
- Initial release.