Skip to main content

Driver for allowing Django to use MongoDB as the database backend.(Forked by CORA-AI-NLU for customization)

Project description

Note: This package has been created by forking original djongo repo to upgrade JQuery version from from 3.3.1 to 3.5.1 [Managed by CORA-AI-NLU]

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-cora-1.2.381.tar.gz (342.1 kB view details)

Uploaded Source

Built Distribution

djongo_cora-1.2.381-py3-none-any.whl (350.6 kB view details)

Uploaded Python 3

File details

Details for the file djongo-cora-1.2.381.tar.gz.

File metadata

  • Download URL: djongo-cora-1.2.381.tar.gz
  • Upload date:
  • Size: 342.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9

File hashes

Hashes for djongo-cora-1.2.381.tar.gz
Algorithm Hash digest
SHA256 345132f28be61a812810586ef97968d11befa823f6a4d0650c19cc2f9a12b815
MD5 04ed397134aac7fa9a0aeaf4bba3d032
BLAKE2b-256 8de1167d85a2bdf5fff6845b17ea1f3fc79901c083cb240a6c31345a12c405b1

See more details on using hashes here.

File details

Details for the file djongo_cora-1.2.381-py3-none-any.whl.

File metadata

  • Download URL: djongo_cora-1.2.381-py3-none-any.whl
  • Upload date:
  • Size: 350.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9

File hashes

Hashes for djongo_cora-1.2.381-py3-none-any.whl
Algorithm Hash digest
SHA256 44c60672c3b023332ecbb53f799be8be0b7f11216235d227170d0817f2b0cdcc
MD5 e9ba408857f5f2fc4e4ea850d68b8ba5
BLAKE2b-256 e5bf98fa97e2303906c754c7eb5d998e3047c294d8b0d78a4673998a725a52ee

See more details on using hashes here.

Supported by

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