Chris McDonough
2011-07-12 f55b54a16def0bb0c463ee302dd12eefaa3638ad
TODO.txt
@@ -1,29 +1,41 @@
Pyramid TODOs
=============
Must-Have
---------
- add_route discriminator wrong
- tutorial models.initialize_sql doesn't match scaffold
  (DBSession.rollback()/transaction.abort() in scaffold vs. "pass" in
  tutorial)
- deprecate request.add_response_callback (or at least review docs, in light
  of request.response property).
Should-Have
-----------
- Speed up startup time (defer _bootstrap and registerCommonDirectives()
  until needed by ZCML, as well as unfound speedups).
- Make "localizer" a property of request (instead of requiring
  "get_localizer(request)"?
- Consider adding a default exception view for HTTPException and attendant
  ``redirect`` and ``abort`` functions ala Pylons (promised Mike I'd enable
  this in 1.1).
- Investigate mod_wsgi tutorial to make sure it still works (2 reports say
  no; application package not found).
- Add narrative docs for wsgiapp and wsgiapp2.
- Review http://alexmarandon.com/articles/zodb_bfg_pyramid_notes .
Nice-to-Have
------------
- Maybe add ``add_renderer_globals`` method to Configurator.
- Speed up startup time (defer _bootstrap and registerCommonDirectives()
  until needed by ZCML, as well as unfound speedups).
- Nicer Mako exceptions in WebError.
- Response.RequestClass should probably be pyramid.request.Request but this
  may imply actually subclassing webob.Response
- Consider per-form_id CSRF instead of per-session global CSRF token.
- Better "Extending" chapter.