Skip to main content
  • This package is a fork of djongo, based on the Github version of 22 jan 2023.

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

Usage

  1. Install djongo:

    pip install dj-mongo-backend
  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 dj-mongo-backend 0.1.4

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

Source distribution (sdist)

Source distribution for dj-mongo-backend 0.1.4
File Size Uploaded Provenance Actions
dj-mongo-backend-0.1.4.tar.gz 47.0 kB Without provenance Details for dj-mongo-backend-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dj-mongo-backend 0.1.4
File Interpreter ABI Platform Actions
dj_mongo_backend-0.1.4-py3-none-any.whl Python 3 none any Details for dj_mongo_backend-0.1.4-py3-none-any.whl

Total release size: 99.1 kB

Release files / dj-mongo-backend-0.1.4.tar.gz

Download URL dj-mongo-backend-0.1.4.tar.gz
Size 47.0 kB
Tags Source
SHA-256 checksum
How to use checksums
447cdd3db034017d5840fe3dac8753347acd429b82be5959ef523e5936c6814b
BLAKE2b-256 checksum
How to use checksums
3b3bc03a340778b25c5c672318cc3dc063c69d9af84b695f6e945568074e1a58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / dj_mongo_backend-0.1.4-py3-none-any.whl

Download URL dj_mongo_backend-0.1.4-py3-none-any.whl
Size 52.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d090dbbd378b6306aeaff22a84b0fecb9c66145959dff3ee1258e0102d72f9fd
BLAKE2b-256 checksum
How to use checksums
ea3a7da8b5e153b172e92dcb3446b0d66cab63625f9d892e26e157957016a5af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for dj-mongo-backend 0.1.4

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.

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