diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-09-16 20:33:07 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-09-16 20:33:07 +0000 |
| commit | 3c5d6701421281508211c762febb86acf2a21b2b (patch) | |
| tree | e15db425071d5d440703107de918ca8c3edab1b6 /docs | |
| parent | fe48912853abcd516804833bc601237e5571da50 (diff) | |
| download | pyramid-3c5d6701421281508211c762febb86acf2a21b2b.tar.gz pyramid-3c5d6701421281508211c762febb86acf2a21b2b.tar.bz2 pyramid-3c5d6701421281508211c762febb86acf2a21b2b.zip | |
Excise "page" vernacular.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/views.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst index d46ce5f3e..74d95480c 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -214,7 +214,7 @@ If the ``view`` callable associated with a ``view`` directive returns a Response object (an object with the attributes ``status``, ``headerlist`` and ``app_iter``), any renderer associated with the ``view`` declaration is ignored, and the response is passed back to -BFG unmolested. For example, if your page callable returns an +BFG unmolested. For example, if your view callable returns an ``HTTPFound`` response, no renderer will be employed. .. code-block:: python @@ -347,8 +347,8 @@ attr example, if your view was a class, and the class has a method named ``index`` and you wanted to use this method instead of the class' ``__call__`` method to return the response, you'd say - ``attr="index"`` in the page ZCML definition. This is most useful - when the page definition is a class. + ``attr="index"`` in the view configuration for the view. This is + most useful when the view definition is a class. .. note:: This feature is new as of :mod:`repoze.bfg` 1.1. |
