From bad27ceb1675cb761c83f2f2facf1fa0e69dc48e Mon Sep 17 00:00:00 2001 From: michr Date: Sun, 17 Jul 2011 03:01:35 -0700 Subject: fix typo in urls.py :: current_route_url --- pyramid/url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyramid/url.py b/pyramid/url.py index 2a6fda89a..548d5e9d9 100644 --- a/pyramid/url.py +++ b/pyramid/url.py @@ -404,7 +404,7 @@ def current_route_url(request, *elements, **kw): ``/foo/1``. If the 'current route' has the route pattern ``/foo/{page}`` and the - current current url path is ``/foo/1``, the matchdict will be + current url path is ``/foo/1``, the matchdict will be ``{'page':'1'}``. The result of ``current_route_url(request, page='2')`` in this situation will be ``/foo/2``. -- cgit v1.2.3