diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-01-19 02:08:12 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-01-19 02:08:12 +0000 |
| commit | 37bcb77a86b73151c781d8b0b8c2d3d4e14f5fe7 (patch) | |
| tree | b59bda2b0e5151ffe17b39f6fa6e82d6409b333e /docs/zcml/notfound.rst | |
| parent | 56971c5db0ba61bdc270da8e72c35708f93d9e11 (diff) | |
| download | pyramid-37bcb77a86b73151c781d8b0b8c2d3d4e14f5fe7.tar.gz pyramid-37bcb77a86b73151c781d8b0b8c2d3d4e14f5fe7.tar.bz2 pyramid-37bcb77a86b73151c781d8b0b8c2d3d4e14f5fe7.zip | |
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``"
Diffstat (limited to 'docs/zcml/notfound.rst')
| -rw-r--r-- | docs/zcml/notfound.rst | 4 |
1 files changed, 0 insertions, 4 deletions
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 |
