Hi, i would like to use mongoDB directly without DAL.
I added this to the bottom of my model/0.py # connect to mongoDB connection = pymongo.MongoClient('localhost', 27017) # attach to test database mongo = connection.asset - this gives me an error name 'pymongo' is not defined if i add import pymongo # connect to mongoDB connection = pymongo.MongoClient('localhost', 27017) # attach to test database mongo = connection.asset then i get the error: Cannot import module 'pymongo' What is worng? -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.