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

6.0 (2025-09-12)

  • Replace pkg_resources namespace with PEP 420 native namespace.

5.1 (2025-06-26)

  • Add support for Python 3.12, 3.13.

  • Drop support for Python 3.7, 3.8.

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.

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_browserpage-6.0.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zope_browserpage-6.0-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file zope_browserpage-6.0.tar.gz.

File metadata

  • Download URL: zope_browserpage-6.0.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for zope_browserpage-6.0.tar.gz
Algorithm Hash digest
SHA256 058b825dc6661f5b2c3683b3b65fbfda511d08159c6847831cd1ff67ffb0a45d
MD5 17e2a96470251dcb2ce2cfb9ee337a8a
BLAKE2b-256 64c3640cf96745d5621adbbeda068727516bc10a4ed4afcf58ea408012a80a34

See more details on using hashes here.

File details

Details for the file zope_browserpage-6.0-py3-none-any.whl.

File metadata

  • Download URL: zope_browserpage-6.0-py3-none-any.whl
  • Upload date:
  • Size: 31.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for zope_browserpage-6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43c614ad2d9346677ba515c5b9994231762d222ef2b83a4771c3643b0be77b4c
MD5 94e908105f51c8a98622ab6e130606c3
BLAKE2b-256 5384d7200741c91e9d852051ef6257a64147266ea162f2e6f46b0a35a42f77c2

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