diff options
| author | Chris McDonough <chrism@plope.com> | 2010-10-25 23:09:02 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-10-25 23:09:02 -0400 |
| commit | 2e6905e15221691e645e5ff4ba0378a6d9438c29 (patch) | |
| tree | da97f7555bc11dc7369ad12beb1c04c91c713049 /docs/tutorials/wiki2/definingviews.rst | |
| parent | 0d1f2ff01465689a472b10bbded2fa4e7a895569 (diff) | |
| download | pyramid-2e6905e15221691e645e5ff4ba0378a6d9438c29.tar.gz pyramid-2e6905e15221691e645e5ff4ba0378a6d9438c29.tar.bz2 pyramid-2e6905e15221691e645e5ff4ba0378a6d9438c29.zip | |
add httpexceptions docs
Diffstat (limited to 'docs/tutorials/wiki2/definingviews.rst')
| -rw-r--r-- | docs/tutorials/wiki2/definingviews.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/wiki2/definingviews.rst b/docs/tutorials/wiki2/definingviews.rst index 1bba7efea..559e6df2f 100644 --- a/docs/tutorials/wiki2/definingviews.rst +++ b/docs/tutorials/wiki2/definingviews.rst @@ -85,8 +85,8 @@ The ``view_wiki`` view function The ``view_wiki`` function will respond as the :term:`default view` of a ``Wiki`` model object. It always redirects to a URL which represents the path to our "FrontPage". It returns an instance of the -:class:`webob.exc.HTTPFound` class (instances of which implement the -WebOb :term:`response` interface), It will use the +:class:`pyramid.httpexceptions.HTTPFound` class (instances of which +implement the WebOb :term:`response` interface), It will use the :func:`pyramid.url.route_url` API to construct a URL to the ``FrontPage`` page (e.g. ``http://localhost:6543/FrontPage``), and will use it as the "location" of the HTTPFound response, forming an |
