Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pymongo 1.9 compatibility #76

Closed
berinhard opened this issue Sep 29, 2010 · 2 comments
Closed

pymongo 1.9 compatibility #76

berinhard opened this issue Sep 29, 2010 · 2 comments

Comments

@berinhard
Copy link

The new version of pymongo doesn't have the attribute dbref. I discovered that running some tests and the error happened at the file mongoengine/fields.py in line 388, for example.

AttributeError: 'module' object has no attribute 'dbref'

For the 1.8 version of pymongo it works correctly, but the 1.9 version was launched today (29/09/2010)!
http://pypi.python.org/pypi/pymongo/

@alefnula
Copy link

Submodules objectid, dbref, son, etc... are moved to bson module so the fix is either:

http://paste.pocoo.org/show/269227/

or:

http://paste.pocoo.org/show/269228/

I don't know if their intention is to leave this modules in pymongo or completely remove them one day?

[Edit: updated the patches, fist ones were not complete]

@hmarr
Copy link
Owner

hmarr commented Oct 4, 2010

Cheers for that - fixed in commit 3acfd90

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants