From 56db9ebbb2443f213cc38911c83de24a5abbb111 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 24 Dec 2010 22:26:16 -0500 Subject: - Changed "Static Assets" narrative chapter: clarify that ``name`` represents a prefix unless it's a URL, added an example of a root-relative static view fallback for URL dispatch, added an example of creating a simple view that returns the body of a file. --- TODO.txt | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f0b1e8b58..a220d78aa 100644 --- a/TODO.txt +++ b/TODO.txt @@ -14,23 +14,10 @@ Must-Have (before 1.0) Should-Have ----------- -- Fix add_static_view docs to mention: static views cannot be served from the - root, that "name" really means "prefix", and that a non-URL prefix can be a - path with slashes in it. - -- Add an example of serving a static asset from the root using a view. - -- Add an example of serving a static asset using a view by setting - response.app_iter and the response content-type/content-disposition. - - Add an example of using a cascade to serve static assets from the root. - Explore static file return from handler action using wsgiapp2 + fileapp. -- Document ``config.add_route('catchall', '/*subpath', - view=pyramid.views.static('some:asset/spec'))``, and explain that - ``static`` requires ``subpath``. - - Static (URL-generation only) routes. - Add narrative docs for wsgiapp and wsgiapp2. -- cgit v1.2.3