summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-20 12:06:19 -0400
committerChris McDonough <chrism@plope.com>2011-08-20 12:06:19 -0400
commit5c6963152fcc756a06d2aea80a4e85f1c9bef7ee (patch)
tree6e7186e7757cf88b15e5049f62108ae4f9b713f8 /docs
parent2871093f61b6176cd49b23abd2582b8184bc60c1 (diff)
downloadpyramid-5c6963152fcc756a06d2aea80a4e85f1c9bef7ee.tar.gz
pyramid-5c6963152fcc756a06d2aea80a4e85f1c9bef7ee.tar.bz2
pyramid-5c6963152fcc756a06d2aea80a4e85f1c9bef7ee.zip
add static_path function to url and static_path method to request
Diffstat (limited to 'docs')
-rw-r--r--docs/api/request.rst10
-rw-r--r--docs/api/url.rst4
2 files changed, 10 insertions, 4 deletions
diff --git a/docs/api/request.rst b/docs/api/request.rst
index c7dc897a3..642e6c84f 100644
--- a/docs/api/request.rst
+++ b/docs/api/request.rst
@@ -167,16 +167,18 @@
.. automethod:: route_url
- .. automethod:: current_route_url
-
.. automethod:: route_path
- .. automethod:: current_route_path
+ .. automethod:: current_route_url
- .. automethod:: resource_url
+ .. automethod:: current_route_path
.. automethod:: static_url
+ .. automethod:: static_path
+
+ .. automethod:: resource_url
+
.. attribute:: response_*
In Pyramid 1.0, you could set attributes on a
diff --git a/docs/api/url.rst b/docs/api/url.rst
index 01be76283..131d85806 100644
--- a/docs/api/url.rst
+++ b/docs/api/url.rst
@@ -13,7 +13,11 @@
.. autofunction:: route_path
+ .. autofunction:: current_route_path
+
.. autofunction:: static_url
+ .. autofunction:: static_path
+
.. autofunction:: urlencode