Hey folks, I have some stuff in middleware that I need my models in a
bfg traversal graph to be able to get at. But I'm not sure what the
correct way for those to get at the environ is. I could tack the environ
onto all objects starting at default_get_root but that seems kind of
clunky. I was
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
bfg
mindset, models need no access to the request environment.
On Thu, 2009-09-03 at 18:15 -0400, Chris McDonough wrote:
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
bfg
On 9/3/09 6:19 PM, Iain Duncan wrote:
On Thu, 2009-09-03 at 18:15 -0400, Chris McDonough wrote:
Using request parameters in model code is technically unsupported.In the
bfg
mindset, models need no access to the request environment. But please
check
out the repoze.bfg.threadlocal