On 9/3/09 3:40 PM, Iain Duncan wrote:
> Hey folks, I have some stuff in middleware that I need my models in a
> bfg traversal graph to be able to get at.
Using request parameters in model code is technically unsupported. In the
"mindset", models need no access to the request environment. But please check
out the "repoze.bfg.threadlocal" module. (Please read the comment relating to
"get_current_request"). Then decide what you want to do.
Repoze-dev mailing list