From 2e6905e15221691e645e5ff4ba0378a6d9438c29 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 25 Oct 2010 23:09:02 -0400 Subject: add httpexceptions docs --- docs/tutorials/wiki/definingviews.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/tutorials/wiki/definingviews.rst') diff --git a/docs/tutorials/wiki/definingviews.rst b/docs/tutorials/wiki/definingviews.rst index f4d92371a..41a9ad373 100644 --- a/docs/tutorials/wiki/definingviews.rst +++ b/docs/tutorials/wiki/definingviews.rst @@ -54,11 +54,11 @@ The ``view_wiki`` view function The ``view_wiki`` function will be configured to respond as the default view of a ``Wiki`` model object. It always redirects to the ``Page`` object named "FrontPage". It returns an instance of the -:class:`webob.exc.HTTPFound` class (instances of which implement the -WebOb :term:`response` interface), and the -:func:`pyramid.url.model_url` API. -:func:`pyramid.url.model_url` constructs a URL to the ``FrontPage`` -page (e.g. ``http://localhost:6543/FrontPage``), and uses it as the +:class:`pyramid.httpexceptions.HTTPFound` class (instances of which +implement the WebOb :term:`response` interface), and the +:func:`pyramid.url.model_url` API. :func:`pyramid.url.model_url` +constructs a URL to the ``FrontPage`` page +(e.g. ``http://localhost:6543/FrontPage``), and uses it as the "location" of the HTTPFound response, forming an HTTP redirect. The ``view_page`` view function -- cgit v1.2.3