diff options
| author | Chris McDonough <chrism@plope.com> | 2010-12-24 22:26:16 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-12-24 22:26:16 -0500 |
| commit | 56db9ebbb2443f213cc38911c83de24a5abbb111 (patch) | |
| tree | 8f988c293d2648217858e3f842c1caeffdd6319f /TODO.txt | |
| parent | 22533dbdc0f362eb680f1053bc707e9b00e9f717 (diff) | |
| download | pyramid-56db9ebbb2443f213cc38911c83de24a5abbb111.tar.gz pyramid-56db9ebbb2443f213cc38911c83de24a5abbb111.tar.bz2 pyramid-56db9ebbb2443f213cc38911c83de24a5abbb111.zip | |
- 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.
Diffstat (limited to 'TODO.txt')
| -rw-r--r-- | TODO.txt | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -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. |
