Skip to main content

Use Mongodb as a backend database for your django project, without changing a single django model!

Usage

  1. Install djongo:

    pip install djongox
  2. Into settings.py file of your project, add:

    DATABASES = {
         'default': {
             'ENGINE': 'djongo',
             'NAME': 'your-db-name',
         }
     }
  3. Run (ONLY the first time to create collections in mongoDB):

    manage.py makemigrations
    manage.py migrate

YOUR ARE SET! HAVE FUN!

Requirements

  1. Djongo requires python 3.6 or above.

How it works

Djongo is a SQL to mongodb query transpiler. It translates a SQL query string into a mongoDB query document. As a result, all Django features, models etc work as is.

Django contrib modules:

'django.contrib.admin',
'django.contrib.auth',
'django.contrib.sessions',

and others… fully supported.

Metadata

Release files for djongox 1.3.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djongox 1.3.6.3
File Size Uploaded
djongox-1.3.6.3.tar.gz 47.1 kB Details

Release files / djongox-1.3.6.3.tar.gz

Download URL djongox-1.3.6.3.tar.gz
Size 47.1 kB
Tags Source
SHA-256 checksum
How to use checksums
da2138a5abd803333aeee1761085be79e12c4e1547bce76d5f137b00af979ea8
BLAKE2b-256 checksum
How to use checksums
5661b9688beefbad8c3b1174cb4ea5031b32b75dd80d08c1e4223ebecd8e477d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.3.6.3 This release

1 release file

1.3.6.2

1 release file

1.3.6.1

1 release file

1.3.6

1 release file

1.3.4.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page