summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-07-11 03:52:19 -0400
committerChris McDonough <chrism@plope.com>2011-07-11 03:52:19 -0400
commit9a68e59789106f19d39537daa01d30479da87a40 (patch)
tree3ee56bd5a96b5395e2b229d2eeeffaf24c911e81 /docs/narr
parent71a5ae65dc74a7d4e07f0c74c911a449576237b5 (diff)
parent0b0e24425346b2bbce1d87cc2321da07e74a4938 (diff)
downloadpyramid-9a68e59789106f19d39537daa01d30479da87a40.tar.gz
pyramid-9a68e59789106f19d39537daa01d30479da87a40.tar.bz2
pyramid-9a68e59789106f19d39537daa01d30479da87a40.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/security.rst2
-rw-r--r--docs/narr/views.rst2
-rw-r--r--docs/narr/webob.rst17
3 files changed, 11 insertions, 10 deletions
diff --git a/docs/narr/security.rst b/docs/narr/security.rst
index c7a07b857..322e905f6 100644
--- a/docs/narr/security.rst
+++ b/docs/narr/security.rst
@@ -562,7 +562,7 @@ that implements the following interface:
.. code-block:: python
:linenos:
- class AuthenticationPolicy(object):
+ class IAuthenticationPolicy(object):
""" An object representing a Pyramid authentication policy. """
def authenticated_userid(self, request):
diff --git a/docs/narr/views.rst b/docs/narr/views.rst
index 6207ae00a..2a0aae0ed 100644
--- a/docs/narr/views.rst
+++ b/docs/narr/views.rst
@@ -409,7 +409,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.