Support for MongoDB

131 views
Skip to first unread message

Sanskar Jaiswal

unread,
Mar 18, 2020, 1:22:31 AM3/18/20
to django-d...@googlegroups.com
Hey everyone,

I would like to get feedback from the community, on whether providing support for MongoDB out of the box would be nice idea. I know that Djongo, takes care of that, but I believe having support in the framework itself, rather than importing a library, would result in a more smooth experience, and would also lead the industry to consider Django as a stronger candidate in their respective tech stack.

Cheers
Sanskar

Aymeric Augustin

unread,
Mar 18, 2020, 3:24:12 AM3/18/20
to django-d...@googlegroups.com
Hello Sanskar,

You can find discussions about this issue in archives of this mailing list. I don't think it came up recently; you'll have to go a few years back.

Support for MongoDB would mean support in the ORM. The R in ORM stands for Relational. MongoDB isn't a relational database. Therefore "support" for MongoDB would be deceptive. The consensus is for not adding it. I'm not aware of changes in MongoDB or in Django that could result in a different outcome if the discussion happens again.

If you'd like to push this proposal forwards anyway, writing a DEP would be the next step. Be aware that it will be difficult to get it accepted.

Best regards,

-- 
Aymeric.



--
You received this message because you are subscribed to the Google Groups "Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/330F6F6E-227E-4753-A210-C0A2587F718E%40gmail.com.

Dhruv Agarwal

unread,
Mar 18, 2020, 7:40:23 AM3/18/20
to django-d...@googlegroups.com
I totally agree with you, Django is the best tech in the market and having native support of MongoDB or NoSQL can definitely help the industry to choose Django as there preferable tech stack.

Also, it will allow me greater flexibility for developers. 

Fran Hrženjak

unread,
Mar 18, 2020, 9:25:16 AM3/18/20
to Django developers (Contributions to Django itself)
I think this might be the discussion which Aymeric referenced:
https://groups.google.com/forum/m/?utm_medium=email&utm_source=footer#!searchin/django-developers/Mongo$20orm/django-developers/N6WOdGGfmWk

It certainly looks like the idea won’t be easily accepted. Unless something has changed in the meantime.

sachin thakur

unread,
Mar 18, 2020, 9:28:40 AM3/18/20
to django-d...@googlegroups.com
Hi Everyone,
I was working on a project where I required multiple database configuration to my Django based application and this had created a problem from which DB we should manage the user and i could not find anything related to it. If we can contribute in this domain as would be highly appreciated 

Thanks and Kind Regards
====================
Sachin Thakur
about.me/sachin.thakur 
PG Student
Dept. of Computer Applications,
Christ ( Deemed to Be university) Main Campus Bangalore, India
UG (DSCASC under Bangalore University ) Bangalore, India.




Reply all
Reply to author
Forward
0 new messages