From ae4a242a4f161f8cbc95d6e66ad67ec6d1dd2ada Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 29 Dec 2010 02:15:41 -0500 Subject: garden --- TODO.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f81c78387..ada3c4c2a 100644 --- a/TODO.txt +++ b/TODO.txt @@ -8,6 +8,12 @@ Must-Have (before 1.0) - Consider deprecations for ``model`` and ``resource`` APIs. +- Re-make testing.setUp() and testing.tearDown() the canonical APIs for test + configuration. + +- ``decorator=`` parameter to view_config. This would replace the existing + _map_view "decorator" if it existed (Rob needs). + Should-Have ----------- @@ -26,9 +32,6 @@ Should-Have - Change "Cleaning up After a Request" in the urldispatch chapter to use ``request.add_response_callback``. -- ``decorator=`` parameter to view_config. This would replace the existing - _map_view "decorator" if it existed. - - Provide a response_set_cookie method on the request for rendered responses that can be used as input to response.set_cookie? -- cgit v1.2.3 From 95c9f6f331bd3294699969ae399045891c0dc6ad Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 30 Dec 2010 02:07:36 -0500 Subject: - The "view derivation" code is now factored into a set of classes rather than a large number of standalone functions (a side effect of the ``view_mapper`` refactoring). - The ``pyramid.renderer.RendererHelper`` class has grown a ``render_view`` method, which is used by the default view mapper (a side effect of the ``view_mapper`` refactoring). - The object passed as ``renderer`` to the "view deriver" is now an instance of ``pyramid.renderers.RendererHelper`` rather than a dictionary (a side effect of ``view_mapper`` refactoring). --- TODO.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ada3c4c2a..5acc923a1 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,8 +11,10 @@ Must-Have (before 1.0) - Re-make testing.setUp() and testing.tearDown() the canonical APIs for test configuration. -- ``decorator=`` parameter to view_config. This would replace the existing - _map_view "decorator" if it existed (Rob needs). +- Document ``decorator=`` and ``view_mapper`` parameters to add_view. + +- Allow ``decorator=`` and ``view_mapper=`` to be passed via ZCML and the + ``view_config`` decorator. Should-Have ----------- -- cgit v1.2.3