I have an install of mongo and django setup with virtualenv.
Everything works great until I try to use pymongo to connect to the mongo server.
I get the connection, and I can see the database, but when I run the following test I get unicode errors.
Code:
>>> import django
>>> import pymongo
>>> connection = pymongo.Connection("localhost", 27017)
>>> db = connection.test
>>> db.name()
Traceback (most recent call last):
File "<console>", line 1, in <module>
TypeError: 'unicode' object is not callable
I'm not sure what that means or how to fix it. Does anyone have suggestions?