diff options
| author | Reed O'Brien <reed@koansys.com> | 2011-07-17 07:47:17 -0700 |
|---|---|---|
| committer | Reed O'Brien <reed@koansys.com> | 2011-07-17 07:47:17 -0700 |
| commit | d313525a3eb10db14fc5f6596f24260580bbef41 (patch) | |
| tree | 8a01ec601134862dc98c9b897585623a8b6e76aa | |
| parent | 2ce6659c9c3f0cd916cb85f43bd973a53d857a14 (diff) | |
| parent | bad27ceb1675cb761c83f2f2facf1fa0e69dc48e (diff) | |
| download | pyramid-d313525a3eb10db14fc5f6596f24260580bbef41.tar.gz pyramid-d313525a3eb10db14fc5f6596f24260580bbef41.tar.bz2 pyramid-d313525a3eb10db14fc5f6596f24260580bbef41.zip | |
Merge pull request #240 from michr/master
fix typo in urls.py :: current_route_url
| -rw-r--r-- | pyramid/url.py | 2 |
1 files changed, 1 insertions, 1 deletions
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``. |
