diff options
Diffstat (limited to 'docs/quick_tutorial/request_response.rst')
| -rw-r--r-- | docs/quick_tutorial/request_response.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/quick_tutorial/request_response.rst b/docs/quick_tutorial/request_response.rst index 74409711f..7d11cd3c3 100644 --- a/docs/quick_tutorial/request_response.rst +++ b/docs/quick_tutorial/request_response.rst @@ -75,7 +75,7 @@ Analysis In this view class we have two routes and two views, with the first leading to the second by an HTTP redirect. Pyramid can -:ref:`generate redirects <pyramid:http_redirect>` by returning a +:ref:`generate redirects <http_redirect>` by returning a special object from a view or raising a special exception. In this Pyramid view, we get the URL being visited from ``request.url``. @@ -97,5 +97,5 @@ Extra Credit #. Could we also ``raise HTTPFound(location='/plain')`` instead of returning it? If so, what's the difference? -.. seealso:: :ref:`pyramid:webob_chapter`, - :ref:`generate redirects <pyramid:http_redirect>` +.. seealso:: :ref:`webob_chapter`, + :ref:`generate redirects <http_redirect>` |
