#340340th of 358 in Backends, databases and hosting
djongo
Django database backend that runs the ORM against MongoDB
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 1.9k
- License
- AGPL-3.0
- Last commit
- Oct 2026
- Last release
- Mar 2018
- Language
- Python
1,911 on 27 Apr 20261,914 on 23 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
djongo is a Django database engine that compiles the SQL generated by the Django ORM into MongoDB query documents. Existing models, migrations and contrib apps (admin, auth, sessions) work against MongoDB, and it adds embedded model, embedded array and embedded form fields. Setup is a pip install plus an ENGINE setting in settings.py.
Who it is for: Django developers who want MongoDB as the database without leaving the ORM
Strengths
- Keeps the standard Django ORM; no model rewrite to adopt MongoDB
- Django Admin can add and edit MongoDB documents
- Embedded model and embedded array fields for nested documents
- Setup is one pip install and a DATABASES entry
Weaknesses
- Translates SQL to MongoDB queries, so complex ORM queries may not map cleanly
- Subqueries and nested querysets require MongoDB 3.6 or higher
- AGPL-3.0 license may restrict use in closed-source network services
- Last tagged release is from 2018 despite recent commits
What it needs
- no GPU
- Needs Django, MongoDB 3.4+, Python 3.6+
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Backends, databases and hosting
See all 358| Rank | Project | Score |
|---|---|---|
| #338 | incubator-pegasusDistributed key-value store with strong consistency, built on RocksDB | 35 out of 100 |
| #339 | lowdbLocal JSON file database for Node.js and browsers, queried with plain JavaScript | 34 out of 100 |
| #341 | ballcatJava component library for building admin-backend projects quickly | 34 out of 100 |
| #342 | flask-migrateFlask extension for SQLAlchemy database migrations using Alembic | 33 out of 100 |
| #343 | vearchDistributed vector database with hybrid vector and scalar-filter search | 33 out of 100 |