From 37bcb77a86b73151c781d8b0b8c2d3d4e14f5fe7 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 19 Jan 2010 02:08:12 +0000 Subject: Bug Fixes --------- - When the ``Configurator`` is passed an instance of ``zope.component.registry.Components`` as a ``registry`` constructor argument, fix the instance up to have the attributes we expect of an instance of ``repoze.bfg.registry.Registry`` when ``setup_registry`` is called. This makes it possible to use the global Zope component registry as a BFG application registry. Documentation ------------- - Change renderings of ZCML directive documentation. - Add a narrative documentation chapter: "Using the Zope Component Architecture in ``repoze.bfg``" --- docs/zcml/notfound.rst | 4 ---- 1 file changed, 4 deletions(-) (limited to 'docs/zcml/notfound.rst') diff --git a/docs/zcml/notfound.rst b/docs/zcml/notfound.rst index 76846d770..141cac6f9 100644 --- a/docs/zcml/notfound.rst +++ b/docs/zcml/notfound.rst @@ -12,7 +12,6 @@ Attributes ~~~~~~~~~~ ``view`` - The :term:`dotted Python name` to a :term:`view callable`. This attribute is required unless a ``renderer`` attribute also exists. If a ``renderer`` attribute exists on the directive, this attribute @@ -20,7 +19,6 @@ Attributes :ref:`views_which_use_a_renderer`). ``attr`` - The attribute of the view callable to use if ``__call__`` is not correct (has the same meaning as in the context of :ref:`view_directive`; see the description of ``attr`` @@ -29,7 +27,6 @@ Attributes .. note:: This feature is new as of :mod:`repoze.bfg` 1.1. ``renderer`` - This is either a single string term (e.g. ``json``) or a string implying a path or :term:`resource specification` (e.g. ``templates/views.pt``) used when the view returns a @@ -40,7 +37,6 @@ Attributes .. note:: This feature is new as of :mod:`repoze.bfg` 1.1. ``wrapper`` - The :term:`view name` (*not* an object dotted name) of another view declared elsewhere in ZCML (or via the ``@bfg_view`` decorator) which will receive the response body of this view as the -- cgit v1.2.3