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 djongo
  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 us2djongo 1.3.44

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

Source distribution (sdist)

Source distribution for us2djongo 1.3.44
File Size Uploaded Provenance Actions
us2djongo-1.3.44.tar.gz 355.1 kB Without provenance Details for us2djongo-1.3.44.tar.gz

Release files / us2djongo-1.3.44.tar.gz

Download URL us2djongo-1.3.44.tar.gz
Size 355.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1da79958d8ba6b6c118095b67487fb7ab00bc1cb16ae8e509432f3ba5aafa899
BLAKE2b-256 checksum
How to use checksums
56b2fc78bdf565fc75da3944c44d2da2beb91ae8d87974dfc11c692ec15db52b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.16

Security for us2djongo 1.3.44

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.3.44 This release

1 release file No provenance

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