Compatibility
MongoDB Compatibility
Django MongoDB Backend uses the PyMongo driver to interact with MongoDB. The MongoDB Server versions that your application supports depend on your PyMongo version. To view PyMongo and MongoDB Server compatibility information, see MongoDB Compatibility in the PyMongo documentation.
PyMongo Compatibility
Django MongoDB Backend supports PyMongo versions 4.6 and later.
Django Compatibility
Your major and minor version of Django MongoDB Backend must match your Django version. For example, Django MongoDB Backend version 5.1 requires Django 5.1. The minimum supported Django version is 5.0.
Language Compatibility
The following compatibility table specifies the recommended version of Django MongoDB Backend for use with a specific version of Python:
Django MongoDB Backend Version | Python 3.13 | Python 3.12 | Python 3.11 | Python 3.10 | Python 3.9 |
---|---|---|---|---|---|
5.1 | ✓ | ✓ | ✓ | ||
5.0 | ✓ | ✓ | ✓ |
For more information on how to read the compatibility tables, see our guide on MongoDB Compatibility Tables.