Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django with NoSQL database

I am working with an Django application which uses Django 1.8 version.

Most of the data we deal with is JSON formatted ones. We are trying to implement any NoSQL database.

But I see that MONGODB is not compatible for version 1.8 and over and Is there any NoSQL database that can be efficiently mapped to Django 1.8 or over ??

Thanks in advance.

like image 513
Bhargav Avatar asked Dec 31 '16 06:12

Bhargav


People also ask

Is Django good with MongoDB?

Django, the most popular Python web framework, is an ideal tool to build secure and easy-to-maintain applications using MongoDB. Using MongoDB with Django is advantageous because: Every second, more and more unstructured data is generated from various sources like chats, real-time streams, feeds, and surveys.

Is Django SQL or NoSQL?

According to their wiki, Django does not officially support NoSQL databases (a poor decision IMHO). So if you go the NoSQL route on Django, you'll need to be comfortable dealing with non-standard forks of the project and errors that may not be well documented. So for beginners on Django, SQL is an obvious choice.

Which DB works best with Django?

MySQL and PostgreSQL work best with Django.


1 Answers

NoSQL databases are not officially supported by Django itself. There are, however, a number of side project and forks which allow NoSQL functionality in Django, like Django non-rel.

You can also take a look on the wiki page which discusses some alternatives.

This is quoted from the django official documentation

like image 79
Rahul Reddy Vemireddy Avatar answered Oct 17 '22 12:10

Rahul Reddy Vemireddy