From 93916525d1d6ed6bf5baab3d0e7166549ede639d Mon Sep 17 00:00:00 2001 From: Benjamin Gmurczyk Date: Thu, 14 Jun 2018 12:35:20 -0400 Subject: Update `request_param` kwarg documentation for `add_route` config method See: https://github.com/Pylons/pyramid/pull/705 --- pyramid/config/routes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyramid/config/routes.py b/pyramid/config/routes.py index b00886e5d..20fdb2b5d 100644 --- a/pyramid/config/routes.py +++ b/pyramid/config/routes.py @@ -198,9 +198,9 @@ class RoutesConfiguratorMixin(object): request_param - This value can be any string. A view declaration with this - argument ensures that the associated route will only match - when the request has a key in the ``request.params`` + This value can be any string or an iterable of strings. A view + declaration with this argument ensures that the associated route will + only match when the request has a key in the ``request.params`` dictionary (an HTTP ``GET`` or ``POST`` variable) that has a name which matches the supplied value. If the value supplied as the argument has a ``=`` sign in it, -- cgit v1.2.3 From f1b72ca6c23ea299f5245a0c299b31e52beae365 Mon Sep 17 00:00:00 2001 From: Benjamin Gmurczyk Date: Thu, 14 Jun 2018 12:41:07 -0400 Subject: Sign CONTRIBUTORS.txt --- CONTRIBUTORS.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 69ed023b0..9b7261014 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -322,3 +322,5 @@ Contributors - Junhak Lee, 2018/05/14 - Alex Gaynor, 2018/05/24 + +- Benjamin Gmurczyk, 2018/06/14 -- cgit v1.2.3