Re: Fixing mongo auth issues in Pyramid: Middleware or Events?

2011-01-27 Thread Seth
Good to know. Thanks again! 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 m

Re: Fixing mongo auth issues in Pyramid: Middleware or Events?

2011-01-27 Thread Chris McDonough
On Thu, 2011-01-27 at 12:17 -0800, Seth wrote: > Thanks Chris, it works fine in a NewRequest event. > > > > > This does bring up a minor side-question about events though: Is it > better for there to be only one event call per event type, or does it > matter if there are multiple? > > > For e

Re: Fixing mongo auth issues in Pyramid: Middleware or Events?

2011-01-27 Thread Seth
Thanks Chris, it works fine in a NewRequest event. This does bring up a minor side-question about events though: Is it better for there to be only one event call per event type, or does it matter if there are multiple? For example, in my __init__.py I'm using: config.add_subscriber(add_db_con

Re: Fixing mongo auth issues in Pyramid: Middleware or Events?

2011-01-27 Thread Chris McDonough
On Thu, 2011-01-27 at 11:47 -0800, Seth wrote: > 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,

Fixing mongo auth issues in Pyramid: Middleware or Events?

2011-01-27 Thread Seth
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

Re: Documentation Typo

2011-01-27 Thread Chris
Thanks for the steps. I was going to report it as an issue on github originally but I didn't want to sign up for an account. However, I guess I might as well as I am continuing to find typo's as I read the documentation (well the narrative). On Jan 26, 1:43 pm, Tres Seaver wrote: > -BEGIN PGP