2025-09-08 –, Room B
At MongoDB, we have several Django enthusiasts who have jumped at the idea of backing a long-term solution to combining MongoDB and Django. Having historically provided support for SQL-based open source frameworks like Entity Framework in .NET/C#, Doctrine in PHP, and many more, we are familiar with the territory. We're happy to say we've successfully created a MongoDB Backend Library for Django and want to share all that we've learned kitting out a new NoSQL backend for a traditionally SQL framework including how we believe we have influenced -- and will continue to influence -- changes in the core Django library.
History
Building on the progress of the past, most notably django-mongodb-engine and django-nonrel, MongoDB has taken on the challenge of developing a production-ready Django database backend for MongoDB.
Early in 2024 with help from Django core developer Tim Graham, MongoDB has systematically developed and tested a database backend with the potential to be greater than the sum of its parts.
Present
In September 2024, I started working for MongoDB to help with this project and what I've seen so far is amazing! - Query support with MongoDB's aggregate function. - A custom model manager with raw_aggregate function to support MongoDB's QuerySet language - Many more amazing things to be added between now and presentation! - Released our beta we urge folks to try!
Future
As a long time Django developer and newcomer to MongoDB, I am excited about the possibilities. - An alternative to PostgreSQL and MySQL! - Deployments to MongoDB's Atlas cloud database service. - Many more exciting things to be added between now and presentation!
Thank you and please check out https://github.com/mongodb-labs/django-mongodb-backend or pip install django-mongodb-backend
Senior Software Engineer @ MongoDB