[Fixed]-Mongoengine is not defined in setting.py though pip has it

1👍

mongoengine is not a django application, it’s a normal python package so you don’t need to specify it in setting.py.
To use mongoengine with django you just need to import it, exactly the same way you would use a normal python package.
The same applies for pymongo, it’s a noraml python package.

You get this error because you didn’t specify a backend.
You used django.db.backends.dummy which is not a real backend.
Look at this question for more info.

👤Royi

Leave a comment