Skip to main content

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

Project description

This is a Fork from Certego S.R.L.

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-certego-1.3.7.tar.gz (46.8 kB view details)

Uploaded Source

Built Distribution

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

djongo_certego-1.3.7-py3-none-any.whl (51.7 kB view details)

Uploaded Python 3

File details

Details for the file djongo-certego-1.3.7.tar.gz.

File metadata

  • Download URL: djongo-certego-1.3.7.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for djongo-certego-1.3.7.tar.gz
Algorithm Hash digest
SHA256 962cb3adc8d2a52298a87c8addc6b943d502d59038760734a7b6b0c24782255a
MD5 bcecc4b63939aa603dc299372103cec6
BLAKE2b-256 296bd7d09a02c695a2848940fbf643de9d4b1a97cdf81274a5579faabae0415e

See more details on using hashes here.

File details

Details for the file djongo_certego-1.3.7-py3-none-any.whl.

File metadata

  • Download URL: djongo_certego-1.3.7-py3-none-any.whl
  • Upload date:
  • Size: 51.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for djongo_certego-1.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 40358bed39ec4754681a4bc9ca597fea93d1e938849f659cdf2f5520fdb99f4a
MD5 9fd6304098e4c5e4dc8d062df8bc2382
BLAKE2b-256 436a6ef2a38f60a1caec472ade6ed92d7c096e58477d1ff4a3d47b4275e6ee48

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