diff options
| author | Chris McDonough <chrism@plope.com> | 2010-11-17 18:48:42 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-11-17 18:48:42 -0500 |
| commit | 2c9d148493aaa977c69e77072466685a3367ad0b (patch) | |
| tree | 393cf2131d6470b8b27c7bdd0de98635d2dba162 /docs | |
| parent | 20fa5619608f55ab85d431de4d806f7f337c5384 (diff) | |
| download | pyramid-2c9d148493aaa977c69e77072466685a3367ad0b.tar.gz pyramid-2c9d148493aaa977c69e77072466685a3367ad0b.tar.bz2 pyramid-2c9d148493aaa977c69e77072466685a3367ad0b.zip | |
- Add a ``pyramid.url.route_path`` API, allowing folks to generate relative
URLs. Calling ``route_path`` is the same as calling
``pyramid.url.route_url`` with the argument ``_app_url`` equal to the empty
string.
- Add a ``pyramid.request.Request.route_path`` API. This is a convenience
method of the request which calls ``pyramid.url.route_url``.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api/url.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/api/url.rst b/docs/api/url.rst index 71987498a..8c702a3fb 100644 --- a/docs/api/url.rst +++ b/docs/api/url.rst @@ -9,6 +9,8 @@ .. autofunction:: route_url + .. autofunction:: route_path + .. autofunction:: static_url .. autofunction:: urlencode |
