jschrewe / django-mongoadmin

Integrates mongodb into django's admin
http://www.schafproductions.com/projects/mongo-admin/
BSD 3-Clause "New" or "Revised" License
112 stars 38 forks source link

Error: No module named objectid #10

Closed ecabuk closed 11 years ago

ecabuk commented 12 years ago

When I have added "mongoadmin" to INSTALLED_APPS = () and tried to start dev server, it's giving this error:

Error: No module named objectid

Django 1.4 and venv

aaboonstra commented 11 years ago

objectid lives in bson these days instead of in pymongo. mongodbforms/fields.py needs its import adjusted to get objectid from bson.

jschrewe commented 11 years ago

Fixed in mongodbforms