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/include.rst | 2 -- 1 file changed, 2 deletions(-) (limited to 'docs/zcml/include.rst') diff --git a/docs/zcml/include.rst b/docs/zcml/include.rst index 5e22f584a..149ddb67a 100644 --- a/docs/zcml/include.rst +++ b/docs/zcml/include.rst @@ -13,11 +13,9 @@ Attributes ~~~~~~~~~~ ``package`` - A :term:`dotted Python name` which references a Python :term:`package`. ``filename`` - An absolute or relative filename which references a ZCML file. The ``package`` and ``filename`` attributes can be used together or -- cgit v1.2.3