2

For few days I have been searching for a tutorial that shows how MongoDB can be used as a database with Django but resulted in nothing fruitful or clear tutorial. There have been questions regarding this in this forum most of them directed to look up for http://www.django-mongodb.org/ but I find there's something else written. Can anybody suggest me some good tutorial or pointers where I can start with. P.S. I myself have searched a lot but couldn't find anything that tells the whole procedure.

1 Answer 1

1

The main options tu use MongoDB with Django are:

  • MongoEngine is an ORM for MongoDB with some Django Integration. This will not replace the Django ORM, but you're free not to use it.

  • Django MongoDB Engine provides a tighter intgration in Django by providing a MongoDB backend to the Django ORM, but requires the use of Django-nonrel, a fork of Django that adds support for non-relational databases.

The Django MongoDB Engine documentation formerly known as http://www.django-mongodb.org/ is now available at https://django-mongodb-engine.readthedocs.org/. For future reference, you can get the previous version of the site using the Internet Archive's Wayback Machine.

Sign up to request clarification or add additional context in comments.

3 Comments

what is MongoDB engine? How is it different from simple MongoDB or is it same?
Django MongoDB Engine allows the Django ORM to use MongoDB as a storage backend. But as explained in my updated answer, this requires the use of a forked Django version.
hi I voted for your answer as this provided me some pointers but i am still skeptic whether there are other integration forms available so once i knw it i can mark it as correct answer

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.