Django MongoDB Backend Now Generally Available

Peter Richards

We are pleased to announce that the Django MongoDB Backend is now generally available. Production-ready, tested, and performant for most common use cases, the package makes it easier than ever before to use MongoDB with Django. Try it today to use familiar Django libraries and conventions while still getting the flexibility of MongoDB’s document model on a scalable, cloud-agnostic platform.

A potent combination

The Django MongoDB Backend enables a natural combination of Django's sensible defaults and MongoDB's flexible document model. Django developers can now leverage familiar Django libraries, ORM syntax, and development patterns while accessing the full power of MongoDB's document-based architecture.

Alongside ORM functionality, the package also offers the full admin interface experience, along with seamless Django REST framework support. By choosing MongoDB, you also get useful features like MongoDB Atlas Vector Search and Atlas Search available natively in the integration. Whether you're building a simple prototype, a new AI-enabled application, or architecting a complex enterprise system, this stack is a great choice for your backend.

The document model meets Django

MongoDB's document model enables rapid iteration during development and supports both structured and unstructured data within the same application. This flexibility allows for intuitive data modeling during development because data that is accessed together is stored together. Developers get MongoDB's flexibility without sacrificing the structure and conventions that make Django so beloved and useful.

The Django MongoDB Backend fundamentally changes how Django developers can approach modeling their domain. In certain cases, the document model allows for intuitive representation of complex, nested data relationships that mirror real-world objects—unlike in traditional relational databases.

Scale and deploy anywhere

Your Django applications can grow from a prototype to something deployed globally with MongoDB Atlas. Scale vertically with auto-scaling and horizontally with sharded clusters. Whether you're handling hundreds of users or millions, Atlas can meet your needs while maintaining performance and reliability.

The cloud-agnostic nature of MongoDB Atlas means you can deploy across Amazon Web Services (AWS), Google Cloud, or Microsoft Azure without vendor lock-in. For development and testing, the Atlas CLI enables local deployment, ensuring consistency across your entire development lifecycle and making database management a painless part of development. Additionally, MongoDB's robust tooling ecosystem, including MongoDB Compass, supports deployment flexibility, whether you're building locally, in the cloud, or in hybrid environments.

Looking ahead

The journey to general availability wouldn't have been possible without the invaluable feedback from developers during our public preview. The community's insights, bug reports, and feature requests shaped every aspect of this release, ensuring we delivered a solution that meets real-world development needs. Please continue to share feedback on the MongoDB forums and with GitHub Issues.

Over the coming months MongoDB will continue to invest in making the Django MongoDB Backend even better, with a big focus on continued increases in performance. Look out for improvements to queryable encryption, embedded models, polymorphic arrays, and transactions. We will also offer a more native integration with Voyage AI and an easier migration path from Djongo to the Django MongoDB Backend. You can track our progress against these limitations through our documentation. We're excited to see what the Django community builds on MongoDB; the best is yet to come!

Interested in trying the Django MongoDB Backend? Get started using the following resources: