X
X
Xcopy2014-10-02 14:11:42
Django
Xcopy, 2014-10-02 14:11:42

Is it relevant to use noSQL in Django?

Hello!
I am a Django programmer. I recently looked at a lot of jobs on Django job sites and almost all of them required knowledge of Mongo / NoSQL database.
Therefore, I decided to make another project on Django + MongoDB and found that using NoSQL in Django brings with it a bunch of problems and crutches. In the literal sense of the word, Django was created and initially adapted specifically to relational databases.
In this regard, the question is: why (judging by the requirements for vacancies) do many companies use Django with MongoDB?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Rrooom, 2014-10-02
@Rrooom

I saw many vacancies where they ask for monga and nosql in general, but at the interviews it turned out that it was not used at all. Here, the fact that "it's fashionable", "suddenly needed", "what the hell are juniors who can only write selects in muscle" plays a role here.
Monga does not carry any crutches. Three years ago, perhaps. Now there is mongoengine, which works stably and hides all the Nosquel stuff - like postgres under the hood, but slower and more gluttonous.
And some companies use monga when they need it. When you need to store complex objects that would be too expensive to fetch from a normalized database. When the data does not fit on one server - Mongolian map-reduce is almost a panacea, the strongest feature, in my opinion.

A
Alexander, 2014-10-16
@syschel

Monga is often used to store and process intermediate data. And it is not a replacement for a DBMS (postgri, mayskul).

G
Gasoid, 2014-10-02
@Gasoid

I don’t see crutches in django, we refuse the admin panel or make our own decision and there are no problems.
the form is not needed when working with mongo, it is already there in the form of pymongo, so what's the difficulty?

U
un1t, 2015-02-06
@un1t

Often some NoSQL is used in parallel with relational databases.
For example, what needs to be edited through the admin panel - in MySQL / Postgres, what is not needed, but requires, for example, fast insertion in large quantities or simply unstructured data - MongoDB. Well, Redis as a cache and queue broker.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question