summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-11-17 18:48:42 -0500
committerChris McDonough <chrism@plope.com>2010-11-17 18:48:42 -0500
commit2c9d148493aaa977c69e77072466685a3367ad0b (patch)
tree393cf2131d6470b8b27c7bdd0de98635d2dba162 /docs
parent20fa5619608f55ab85d431de4d806f7f337c5384 (diff)
downloadpyramid-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.rst2
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