diff options
| author | Paul Everitt <paul@agendaless.com> | 2013-09-13 17:09:35 -0400 |
|---|---|---|
| committer | Paul Everitt <paul@agendaless.com> | 2013-09-13 17:09:35 -0400 |
| commit | 4042c772c8043ac96a22db439a736fec9ea2aafa (patch) | |
| tree | 88abca8bdea3781975822b716d7091b607fd1566 /docs/quick_tutorial/request_response.rst | |
| parent | b1b92284f496800a4dfd2cea72cb9be07ba8661c (diff) | |
| download | pyramid-4042c772c8043ac96a22db439a736fec9ea2aafa.tar.gz pyramid-4042c772c8043ac96a22db439a736fec9ea2aafa.tar.bz2 pyramid-4042c772c8043ac96a22db439a736fec9ea2aafa.zip | |
All the references re-wired.
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>` |
