Page template resource plugin for zope.browserresource
Project description
zope.ptresource
This package provides a “page template” resource class, a resource whose content is processed with the Zope Page Templates engine before being returned to client.
The resource factory class is registered for “pt”, “zpt” and “html” file extensions in the package’s configure.zcml file.
Changes
4.1.0 (2017-08-31)
Add support for Python 3.5 and 3.6.
Drop support for Python 2.6 and 3.3.
4.0.0 (2014-12-24)
Add support for PyPy and PyPy3.
Add support for Python 3.4.
Add support for testing on Travis.
4.0.0a1 (2013-02-25)
Add support for Python 3.3.
Replace deprecated zope.interface.implements usage with equivalent zope.interface.implementer decorator.
Drop support for Python 2.4 and 2.5.
3.9.0 (2009-08-27)
Initial release. This package was split off zope.app.publisher as a part of refactoring process. It’s now a plugin for another package that was refactored from zope.app.publisher - zope.browserresource. See its documentation for more details.
Other changes:
Don’t render PageTemplateResource when called as the IResource interface requires that __call__ method should return an absolute URL. When accessed by browser, it still will be rendered, because “browserDefault” method now returns a callable that will render the template to browser.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for zope.ptresource-4.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4274530ca2281deea22afe8e8a55900bcaa45f59211d534067195b576985787 |
|
MD5 | f8ec7f8b03c4733af2947ed897c4d782 |
|
BLAKE2b-256 | 20813fba0bc00b36e77857b561dbfde065a0f18231ade2085b4da693880d5269 |