Skip to main content

Page template resource plugin for zope.browserresource

Project description

Overview

This package is at present not reusable without depending on a large chunk of the Zope Toolkit and its assumptions. It is maintained by the Zope Toolkit project.

This package provides a “page template” resource class, a resource which content is processed with Zope Page Templates engine before returning to client.

The resource factory class is registered for “pt”, “zpt” and “html” file extensions in package’s configure.zcml file.

CHANGES

4.0.0a1 (2013-02-25)

  • Added support for Python 3.3.

  • Replaced deprecated zope.interface.implements usage with equivalent zope.interface.implementer decorator.

  • Dropped support for Python 2.4 and 2.5.

3.9.0 (2009-08-27)

Initial release. This package was splitted 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zope.ptresource-4.0.0a1.zip (14.5 kB view details)

Uploaded Source

File details

Details for the file zope.ptresource-4.0.0a1.zip.

File metadata

File hashes

Hashes for zope.ptresource-4.0.0a1.zip
Algorithm Hash digest
SHA256 e6bcaefbe131e31250c06c81d1652075de7fb196f4e6a220120a5becc4a7506a
MD5 538b76f50561bde3662ecf9899cec70e
BLAKE2b-256 37a3e041b86fddef539ae2bf4e94b449bd33c97719e7104f60f283301b0ddf86

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page