Watch keynotes and sessions from MongoDB.live, our virtual developer conference.

Connect django with mongodb

Dear, someone has been able to connect django with mongodb atlas, they have different information everywhere but it is not clearly explained.

Welcome to the community @Luis_Humberto_Llatas!

Unfortunately core Django currently doesn’t have first-class support for non-SQL databases. A few projects have attempted to add core support but I’m not aware of any currently active forks.

However, some community members have reported success using the community djongo driver which translates SQL to equivalent MongoDB queries.

Stack Overflow has some examples of Atlas configuration for Djongo.

Regards,
Stennie