repoze.bfg

How should I perform cleanup at the end of a repoze.bfg response?

Example code for the repoze.bfg web framework performs post-response cleanup by adding a __del__ method to an object attached to the request's environ. Is there a better way to clean up database connections, etc. after the response has been completely sent to the client? ...

How do I plug a new templating language into repoze.bfg?

What do I need to implement to add a new templating language to repoze.bfg? Will the framework send my plugin absolute paths or package relative paths, or both depending? ...