From 2c9d148493aaa977c69e77072466685a3367ad0b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 17 Nov 2010 18:48:42 -0500 Subject: - 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``. --- TODO.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index d8160eb67..def6fe687 100644 --- a/TODO.txt +++ b/TODO.txt @@ -44,8 +44,6 @@ action = '^foo$' mypackage.views.MyView.foo_GET -- Ability to use configurator as a context manager. - - Provide a response_cookies attribute on the request for rendered responses that can be used as input to response.set_cookie. @@ -79,9 +77,6 @@ - translationdir ZCML directive use of ``path_spec`` should maybe die. -- Option for route_url to omit the host and port (perhaps a different - function named ``route_path``). - - SQLAlchemy idiomatics: mcdonc: those paster templates all look pretty good... the -- cgit v1.2.3