django request object provider

*gadjo.requestprovider* solves the problem of accessing django's HTTPRequest
object whenever is needed, without explicitely passing it down the path of
code.

read more at pypi django requestprovider's home

3 comments:

  1. Just wondering, attaching the request to a middleware object. Is that really thread safe? I suspect not.

    ReplyDelete
  2. as thread-safe as the middleware is. so your suspicion becomes a painful truth when multithreading :)

    ReplyDelete
  3. I suppose my main brainfck at that moment was purely related to seamlessly accessing the darn request object when needed, not thinking too much in terms of thread safety ... since I'm mostly preforking wsgis from apache. thanks for pointing this out.

    ReplyDelete