summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
authorChris Rossi <chris@archimedeanco.com>2012-10-14 14:18:19 -0400
committerChris Rossi <chris@archimedeanco.com>2012-10-14 14:18:19 -0400
commitbf932e9b6f3e22daff1c1ca0b1647a3d037b7b44 (patch)
tree1c4ee9e67b77207a2746e3d5d719a166e0cf698f /docs/narr
parent0678dec16488928f23ea951d2d5ac44ddbc7935f (diff)
parent1207dbed3f2e4cc765fd2078f9c622329324ffe0 (diff)
downloadpyramid-bf932e9b6f3e22daff1c1ca0b1647a3d037b7b44.tar.gz
pyramid-bf932e9b6f3e22daff1c1ca0b1647a3d037b7b44.tar.bz2
pyramid-bf932e9b6f3e22daff1c1ca0b1647a3d037b7b44.zip
Merge branch 'master' into feature-basic-auth
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/viewconfig.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst
index f65435cc6..3c7897969 100644
--- a/docs/narr/viewconfig.rst
+++ b/docs/narr/viewconfig.rst
@@ -290,12 +290,13 @@ configured view.
of the ``REQUEST_METHOD`` of the :term:`WSGI` environment.
``request_param``
- This value can be any string. A view declaration with this argument
- ensures that the view will only be called when the :term:`request` has a
- key in the ``request.params`` dictionary (an HTTP ``GET`` or ``POST``
- variable) that has a name which matches the supplied value.
+ This value can be any string or a sequence of strings. A view declaration
+ with this argument ensures that the view will only be called when the
+ :term:`request` has a key in the ``request.params`` dictionary (an HTTP
+ ``GET`` or ``POST`` variable) that has a name which matches the a
+ supplied value.
- If the value supplied has a ``=`` sign in it,
+ If any value supplied has a ``=`` sign in it,
e.g. ``request_param="foo=123"``, then the key (``foo``) must both exist
in the ``request.params`` dictionary, *and* the value must match the right
hand side of the expression (``123``) for the view to "match" the current