Skip to main content

ZCML directives for configuring browser views for Zope.

Project description

zope.browserpage

Latest release Supported Python versions https://github.com/zopefoundation/zope.browserpage/actions/workflows/tests.yml/badge.svg https://coveralls.io/repos/github/zopefoundation/zope.browserpage/badge.svg?branch=master

This package provides ZCML directives for configuring browser views. More specifically it defines the following ZCML directives:

  • browser:page

  • browser:pages

  • browser:view

These directives also support menu item registration for pages, when zope.browsermenu package is installed. Otherwise, they simply ignore the menu attribute.

Changes

5.0 (2023-01-19)

  • Drop support for Python 2.7, 3.5, 3.6.

  • Add support for Python 3.8, 3.9, 3.10, 3.11.

  • Drop support for running the tests using python setup.py test. (#11)

4.4.0 (2019-06-18)

  • Fix regression in allowed_attributes and allowed_interface. (#7)

  • Drop support for Python 3.4.

4.3.0 (2018-10-05)

  • Add support for Python 3.7.

4.2.0 (2017-08-02)

  • Add support for Python 3.5 and 3.6.

  • Drop support for Python 2.6 and 3.3.

4.1.0 (2014-12-24)

  • Fix deprecated unittest methods.

  • Add explicit support for Python 3.4.

  • Add explicit support for PyPy.

4.1.0a1 (2013-02-22)

  • Add support for Python 3.3.

4.0.0 (2012-07-04)

  • When registering views, no longer pass the deprecated ‘layer’ agrument to zope.component.registerAdapter. Instead, pass (for_, layer) as expected (forward-compatibility with zope.component 4.0.0).

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

  • Drop support for Python 2.4 and 2.5.

3.12.2 (2010-05-24)

  • Fix unit tests broken under Python 2.4 by the switch to the standard library doctest module.

3.12.1 (2010-04-30)

  • Prefer the standard library’s doctest module to the one from zope.testing.

3.12.0 (2010-04-26)

  • Move the implementation of tales:expressiontype here from zope.app.pagetemplate.

3.11.0 (2009-12-22)

  • Move the named template implementation here from zope.app.pagetemplate.

3.10.1 (2009-12-22)

  • Depend on the untrustedpython extra of zope.security, since we import from zope.pagetemplate.engine.

3.10.0 (2009-12-22)

  • Remove the dependency on zope.app.pagetemplate by moving viewpagetemplatefile, simpleviewclass and metaconfigure.registerType into this package.

3.9.0 (2009-08-27)

  • Initial release. This package was split off from zope.app.publisher.

Download files

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

Source Distribution

zope.browserpage-5.0.tar.gz (23.8 kB view hashes)

Uploaded source

Built Distribution

zope.browserpage-5.0-py3-none-any.whl (32.1 kB view hashes)

Uploaded py3

Supported by

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