I am trying to use MongoDB 2.6.1 and pymongo 2.7 with the DAL on my local
ubuntu 14.04 machine.
I have followed instructions in Alan's slice but web2py is not able to find the
pymongo driver.
It works ok from the python shell and the mongo shell also works.
My guess is that I don't have someth
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
impor
2 matches
Mail list logo