I'm looking for information on how to correctly use mongoengine with 
Pyramid. Due to the fact that mongoengine uses a global connection object 
that doesn't work well with threads (see http://goo.gl/wB0MZ), the default 
mongodb setup (as outlined in the Pyramid Cookbook here: http://goo.gl/N94YJ) 
doesn't really work.

How would one use mongoengine with Pyramid without having to setup a 
connection for *every single request* using the request callback?

Thanks,
Seth

[Note: This is a re-post from MongoEngine Users, which doesn't seem to be 
active so I'm posting here instead and hoping that the Pyramid crew can be 
more helpful.]

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to