So far Django has good integration with several RDBMS. NoSQL, schema-less and document-oriented DBMS are picking up. What's the status of integration those on-trend and fashionable DBMSes with Django? Are there any production-ready or at least ready-to-use libraries for Django?
So far I have these at hand:
NoSQL databases are not officially supported by Django itself. There are, however, a number of side projects and forks which allow NoSQL functionality in Django.
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.
In order to connect to MongoDB, python uses a library known as pymongo. You can add this library to your python environment, using the below command from the Anaconda environment. This library enables python to connect to MOngoDB using a db client. Once connected we select the db name to be used for various operations.
NoSQL databases come in a variety of types including document databases, key-values databases, wide-column stores, and graph databases. MongoDB is the world's most popular NoSQL database.
Pre 1.0, django ORM underwent a major queryset re-factor. One of the reasons for this was "This re-factor enables us to support non relational backends".
The official support I think is definitely on the cards; but I think there were more pressing matters for 1.1 and 1.2(now in beta).
However, there are of course several independent efforts to use non relational databases with django, including, but not limited to the following:
Neo4j- the Java graph database (on the other end of the NoSQL spectrum)- also has initial support.
EDIT:
I've spent quite a while fleshing this support out and moving to a remote protocol. You can see the results on GitHub.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With