Skip to main content

Driver for allowing Django to use MongoDB as the database backend.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djongo-1.2.35.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djongo-1.2.35-py3-none-any.whl (47.6 kB view details)

Uploaded Python 3

File details

Details for the file djongo-1.2.35.tar.gz.

File metadata

  • Download URL: djongo-1.2.35.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.18.0 CPython/3.6.0

File hashes

Hashes for djongo-1.2.35.tar.gz
Algorithm Hash digest
SHA256 b7a6c2b60abfcb98de9765a8fdd732187ec74ebec6799da4dadf77287a5846ee
MD5 e3a188e3c5b969eab3a33843b490e881
BLAKE2b-256 0d8ce7fb61c6b6e083a6a4b5b4ea8deba377b9308d4e1570cb096e1fa7320848

See more details on using hashes here.

File details

Details for the file djongo-1.2.35-py3-none-any.whl.

File metadata

  • Download URL: djongo-1.2.35-py3-none-any.whl
  • Upload date:
  • Size: 47.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.18.0 CPython/3.6.0

File hashes

Hashes for djongo-1.2.35-py3-none-any.whl
Algorithm Hash digest
SHA256 19a31913e823ffb49c43dd13c3f832a45338035dbece1af1f079e8f1c31da4b7
MD5 5330913299cff07db2bf0d4759c17ec5
BLAKE2b-256 db2972e7d2f0f944bb1ab9ab8fdf4f1e46ccc654fb5e30e4affada878796a2c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page