I've bumped into an issue with using mongoengine and pyramid when 
mongoengine needs to authenticate to mongodb. My app can't connect to the 
database when using the paster server, although all the tests run fine.

After a little googling, I came across this 
discussion<http://groups.google.com/group/mongoengine-users/browse_thread/thread/1aa3f9d65627c04>which
 describes issues with mongoengine's global connection object and 
suggests wrapping the connection inside middleware.

What would the suggested approach be in Pyramid? Would it be recommended to 
go the middleware route or would it be more "pyramidic" to add this sort of 
thing to the "new request" event?

Thanks,
Seth

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

Reply via email to