Re: [web2py] Auth in MongoDB

2011-10-27 Thread ~redShadow~
On Thu, 2011-10-20 at 09:51 -0700, Francisco Costa wrote: > Hi, > we are in the process of converting our MySQL DB to MongoDB (via > pymongo). > > We have already convert the auth_user table. > Now we want to change the auth connection from > auth = Auth(globals(), db) > to > auth = Auth(globals(

[web2py] Auth in MongoDB

2011-10-20 Thread Francisco Costa
Hi, we are in the process of converting our MySQL DB to MongoDB (via pymongo). We have already convert the auth_user table. Now we want to change the auth connection from auth = Auth(globals(), db) to auth = Auth(globals(), mongo) but we get this error: TypeError: 'Collection' object is not calla