Project Setup With Django 1.10, Mongodb And Python 3.4.3
Solution 1:
You can't use the normal Django with django-mongodb-engine.
django-mongodb-engine requires the Django-nonrel package to be installed, instead of the normal Django, which is several minor versions behind the current release of the official Django (1.10).
If you want to use the official django with MongoDB and be provided with an ORM like layer, your best bet is probably Mongoengine which works with the official version of Django.
Solution 2:
Expanding on the above answer. You can actually use Django with MongoDB directly.
It is possible to use django AS IS with MongoDB as your backend djongo
It is a compiler that converts SQL queries into mongodb syntax. Using this all Django features work as is.
Disclosure: I have contributed to this project and all Django contrib models work fine with this as the backend connector.
Post a Comment for "Project Setup With Django 1.10, Mongodb And Python 3.4.3"