summaryrefslogtreecommitdiff
path: root/docs/zcml/view.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-10-29 13:23:31 -0400
committerChris McDonough <chrism@plope.com>2010-10-29 13:23:31 -0400
commit197f0cb39d0a865476405dda21ad0d3e20ee0789 (patch)
tree061f4595339022831dcd2c31275d0964eed77647 /docs/zcml/view.rst
parent66ecc57eb00063edfa01d66f8d6f4495d21d79b5 (diff)
downloadpyramid-197f0cb39d0a865476405dda21ad0d3e20ee0789.tar.gz
pyramid-197f0cb39d0a865476405dda21ad0d3e20ee0789.tar.bz2
pyramid-197f0cb39d0a865476405dda21ad0d3e20ee0789.zip
bfg_view -> view_config
Diffstat (limited to 'docs/zcml/view.rst')
-rw-r--r--docs/zcml/view.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/zcml/view.rst b/docs/zcml/view.rst
index 041e35af5..392e84430 100644
--- a/docs/zcml/view.rst
+++ b/docs/zcml/view.rst
@@ -83,7 +83,7 @@ Non-Predicate 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``
@@ -246,7 +246,7 @@ Alternatives
You can also add a :term:`view configuration` via:
-- Using the :class:`pyramid.view.bfg_view` class as a decorator.
+- Using the :class:`pyramid.view.view_config` class as a decorator.
- Using the :meth:`pyramid.configuration.Configurator.add_view` method.