#340340th of 358 in Backends, databases and hosting

djongo

Django database backend that runs the ORM against MongoDB

Releases and problems feed (RSS)

Stars
1.9k
License
AGPL-3.0
Last commit
Oct 2026
Last release
Mar 2018
Language
Python
Stars, last 30 weeks+3
27 Apr 2026: 1,911 stars4 May 2026: 1,911 stars11 May 2026: 1,911 stars18 May 2026: 1,911 stars25 May 2026: 1,911 stars1 Jun 2026: 1,911 stars8 Jun 2026: 1,911 stars15 Jun 2026: 1,911 stars22 Jun 2026: 1,912 stars29 Jun 2026: 1,912 stars6 Jul 2026: 1,912 stars13 Jul 2026: 1,912 stars20 Jul 2026: 1,912 stars27 Jul 2026: 1,912 stars3 Aug 2026: 1,913 stars10 Aug 2026: 1,913 stars17 Aug 2026: 1,913 stars24 Aug 2026: 1,913 stars31 Aug 2026: 1,913 stars7 Sept 2026: 1,913 stars14 Sept 2026: 1,913 stars21 Sept 2026: 1,913 stars28 Sept 2026: 1,913 stars5 Oct 2026: 1,913 stars12 Oct 2026: 1,913 stars19 Oct 2026: 1,913 stars26 Oct 2026: 1,913 stars2 Nov 2026: 1,913 stars9 Nov 2026: 1,914 stars16 Nov 2026: 1,914 stars23 Nov 2026: 1,914 stars

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
Also in Backends, databases and hosting
RankProjectScore
#338incubator-pegasusDistributed key-value store with strong consistency, built on RocksDB2.1k starsApache-2.035 out of 100
#339lowdbLocal JSON file database for Node.js and browsers, queried with plain JavaScript22.6k starsMIT34 out of 100
#341ballcatJava component library for building admin-backend projects quickly1.7k starsApache-2.034 out of 100
#342flask-migrateFlask extension for SQLAlchemy database migrations using Alembic2.4k starsMIT33 out of 100
#343vearchDistributed vector database with hybrid vector and scalar-filter search2.3k starsApache-2.033 out of 100