From 5c6963152fcc756a06d2aea80a4e85f1c9bef7ee Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 20 Aug 2011 12:06:19 -0400 Subject: add static_path function to url and static_path method to request --- docs/api/request.rst | 10 ++++++---- docs/api/url.rst | 4 ++++ 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'docs') 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 -- cgit v1.2.3