1👍
The problem is that the location where you downloaded the package is not in your PYTHONPATH
, so django cannot import it.
If you followed those instructions, you need to run your application from the virtualenv you created (myproject
in the example).
Or, you need to add it to your PYTHONPATH
to make sure django can import it.
You should be able to run the python interactive shell and execute import django_mongodb_engine.mongodb
without any errors.
- [Django]-Use values() in Django query to get Model instead of ID
- [Django]-Can I use the Node.js packages along with Django?
-1👍
I found the answer with here: https://stackoverflow.com/questions/5699521/django-mongodb-i-cannot-update
Essentially one will need to install:
•django-mongodb-engine
•pymongo
•django-nonrel
•djangotoolbox
•mongoengine
Source:stackexchange.com