2025-04-25 –, Main hall
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
Beginner
Topics –Deployment, Django Internals, DB
Anaiya Raisinghani is a passionate Developer Advocate at MongoDB, where she empowers developers to turn their quirkiest dreams into reality with AI and Python. With her background in Computational Linguistics and Industrial and Systems Engineering, she is all about exploring the niche between fun and useful by helping people build playful, creative applications that can actually fit into real life (even through the chaos of it all!). When she's away from her laptop, you can find Anaiya hanging out with her favorite coworkers (her two cats) or exploring all the fun brunch spots NYC has to offer.