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/adapter.rst | 4 ---- 1 file changed, 4 deletions(-) (limited to 'docs/zcml/adapter.rst') diff --git a/docs/zcml/adapter.rst b/docs/zcml/adapter.rst index 48ed49f6c..83cce0c39 100644 --- a/docs/zcml/adapter.rst +++ b/docs/zcml/adapter.rst @@ -9,21 +9,17 @@ Attributes ~~~~~~~~~~ ``factory`` - The adapter factory (often a class). ``provides`` - The :term:`interface` that an adapter instance resulting from a lookup will provide. ``for`` - Interfaces or classes to be adapted, separated by spaces, e.g. ``interfaces.IFoo interfaces.IBar``. ``name`` - The adapter name. Example -- cgit v1.2.3