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
5.0 (2023-03-27)
Add support for Python 3.11.
Drop support for Python 2.7, 3.5, 3.6.
Drop support for deprecated python setup.py test.
4.3.0 (2021-12-15)
Add support for Python 3.8, 3.9 and 3.10.
Drop support for Python 3.4.
4.2.0 (2018-10-05)
Add support for Python 3.7.
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
File details
Details for the file zope.ptresource-5.0.tar.gz
.
File metadata
- Download URL: zope.ptresource-5.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe1bfcba80cefb97bf1551409b7e24a7d30ba4941cdd6a95983d52f1f25e4b1a |
|
MD5 | 90a9329d986f312361cb18eb04e87b5c |
|
BLAKE2b-256 | daaceda7b3b74726d82ebbe712a3753bc36151f289f8271711c9c952c4c24910 |
File details
Details for the file zope.ptresource-5.0-py3-none-any.whl
.
File metadata
- Download URL: zope.ptresource-5.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 109208d35cb66c1b81d81c8b520390a2f17559166c5477cb4adde26fb346d2d6 |
|
MD5 | e4998fd4737b15a4dfb348ee5ea42742 |
|
BLAKE2b-256 | b04c88f4472d3cf2224d7877ba894987f23f7d23f5633deb9d5f9cac3c418a69 |