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/utility.rst | 4 ---- 1 file changed, 4 deletions(-) (limited to 'docs/zcml/utility.rst') diff --git a/docs/zcml/utility.rst b/docs/zcml/utility.rst index 88198eaa0..1341dfb83 100644 --- a/docs/zcml/utility.rst +++ b/docs/zcml/utility.rst @@ -9,22 +9,18 @@ Attributes ~~~~~~~~~~ ``component`` - The utility component (cannot be specified if ``factory`` is specified). ``factory`` - A factory that creates a component (cannot be specified if ``component`` is specified). ``provides`` - The :term:`interface` that an utility instance resulting from a lookup will provide. ``name`` - The utility name. Example -- cgit v1.2.3