diff options
| author | Michael Merickel <michael@merickel.org> | 2011-07-10 22:06:51 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2011-07-10 22:06:51 -0500 |
| commit | e005c27ae54f12d5f9579451c1c894a534eb7d48 (patch) | |
| tree | 0244130aa24b3cb997b442f5636a008c0fbcd9c9 /docs/narr | |
| parent | 4b105d5853988f846a0ff604e811b436b8a68f50 (diff) | |
| download | pyramid-e005c27ae54f12d5f9579451c1c894a534eb7d48.tar.gz pyramid-e005c27ae54f12d5f9579451c1c894a534eb7d48.tar.bz2 pyramid-e005c27ae54f12d5f9579451c1c894a534eb7d48.zip | |
Modified docs to reference webob's new website.
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/views.rst | 2 | ||||
| -rw-r--r-- | docs/narr/webob.rst | 17 |
2 files changed, 10 insertions, 9 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst index cbd8fcfb7..ca5aac508 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -483,7 +483,7 @@ various other clients. In :app:`Pyramid`, form submission handling logic is always part of a :term:`view`. For a general overview of how to handle form submission data using the :term:`WebOb` API, see :ref:`webob_chapter` and `"Query and POST variables" within the WebOb documentation -<http://pythonpaste.org/webob/reference.html#query-post-variables>`_. +<http://docs.webob.org/en/latest/reference.html#query-post-variables>`_. :app:`Pyramid` defers to WebOb for its request and response implementations, and handling form submission data is a property of the request implementation. Understanding WebOb's request API is the key to diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst index beb319084..0d928e532 100644 --- a/docs/narr/webob.rst +++ b/docs/narr/webob.rst @@ -22,9 +22,9 @@ of :class:`webob.Request`. The :term:`response` returned from a WebOb is a project separate from :app:`Pyramid` with a separate set of authors and a fully separate `set of documentation -<http://pythonpaste.org/webob/>`_. Pyramid adds some functionality to the -standard WebOb request, which is documented in the :ref:`request_module` API -documentation. +<http://docs.webob.org/en/latest/index.html>`_. Pyramid adds some +functionality to the standard WebOb request, which is documented in the +:ref:`request_module` API documentation. WebOb provides objects for HTTP requests and responses. Specifically it does this by wrapping the `WSGI <http://wsgi.org>`_ request environment and @@ -35,7 +35,7 @@ requests and forming WSGI responses. WebOb is a nice way to represent "raw" WSGI requests and responses; however, we won't cover that use case in this document, as users of :app:`Pyramid` don't typically need to use the WSGI-related features of WebOb directly. The `reference documentation -<http://pythonpaste.org/webob/reference.html>`_ shows many examples of +<http://docs.webob.org/en/latest/reference.html>`_ shows many examples of creating requests and using response objects in this manner, however. .. index:: @@ -300,8 +300,8 @@ More detail about the request object API is available in: - The :class:`pyramid.request.Request` API documentation. -- The `WebOb documentation <http://pythonpaste.org/webob>`_. All - methods and attributes of a ``webob.Request`` documented within the +- The `WebOb documentation <http://docs.webob.org/en/latest/index.html>`_. + All methods and attributes of a ``webob.Request`` documented within the WebOb documentation will work with request objects created by :app:`Pyramid`. @@ -385,7 +385,7 @@ properties. These are parsed, so you can do things like ``response.last_modified = os.path.getmtime(filename)``. The details are available in the `extracted Response documentation -<http://pythonpaste.org/webob/class-webob.Response.html>`_. +<http://docs.webob.org/en/latest/modules/webob.html#headers>`_. .. index:: single: response (creating) @@ -444,5 +444,6 @@ More Details More details about the response object API are available in the :mod:`pyramid.response` documentation. More details about exception responses are in the :mod:`pyramid.httpexceptions` API documentation. The -`WebOb documentation <http://pythonpaste.org/webob>`_ is also useful. +`WebOb documentation <http://docs.webob.org/en/latest/index.html>`_ is also +useful. |
