Hi

Currently MongoDBAdapter in dal can only connect:P
But I have four issue with fixes in the issue list which makes currently
inserts possible.
Next thing I'm going to try is to get select working, but it takes times
because I have to get used to DAL and some features of Python.
I Jave/C# programmer from origin, so it takes some time for me to adapt...
but the works continues since it is part of my university project.
I finaly got it! 

Regards,

Mark

-----Oorspronkelijk bericht-----
Van: [email protected] [mailto:[email protected]] Namens
Francisco Costa
Verzonden: vrijdag 28 oktober 2011 22:12
Aan: web2py-users
Onderwerp: [web2py] Re: Auth in MongoDB

Hi Samuele, thanks for your answer.
Do you have any idea whats the status of the mongodb adapter development?

> You will be able to do that using DAL with the mongodb adapter (once 
> it is finished); you get that error since Auth() expects a DAL object 
> as the second argument to constructor, in order to access the 
> database; instead, you are passing a pymongo.Collection object that 
> Auth doesn't know how to use..
>
> For now, the two solutions I see are:
> - temporarily use a sqlite database just to store users/auth stuff
> - write a custom (maybe inheriting) "MongoAuth" object that acts like 
> Auth but uses mongodb collections to store data
>
> --
> Samuele ~redShadow~ Santi

-----
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 2012.0.1869 / Virusdatabase: 2092/4597 - datum van uitgifte:
11/04/11

Reply via email to