From 197f0cb39d0a865476405dda21ad0d3e20ee0789 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 29 Oct 2010 13:23:31 -0400 Subject: bfg_view -> view_config --- docs/zcml/notfound.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/zcml/notfound.rst') diff --git a/docs/zcml/notfound.rst b/docs/zcml/notfound.rst index 59263db34..0e1652708 100644 --- a/docs/zcml/notfound.rst +++ b/docs/zcml/notfound.rst @@ -6,7 +6,7 @@ .. warning:: The ``notfound`` ZCML directive is deprecated in :mod:`pyramid` - version 1.3. Instead, you should use the :ref:`view_directive` + version 1.0. Instead, you should use the :ref:`view_directive` directive with a ``context`` that names the :exc:`pyramid.exceptions.NotFound` class. See :ref:`changing_the_notfound_view` form more information. @@ -42,7 +42,7 @@ Attributes ``wrapper`` The :term:`view name` (*not* an object dotted name) of another view - declared elsewhere in ZCML (or via the ``@bfg_view`` decorator) + declared elsewhere in ZCML (or via the ``@view_config`` decorator) which will receive the response body of this view as the ``request.wrapped_body`` attribute of its own request, and the response returned by this view as the ``request.wrapped_response`` -- cgit v1.2.3