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
Install djongo:
pip install djongo
Into settings.py file of your project, add:
DATABASES = { 'default': { 'ENGINE': 'djongo', 'NAME': 'your-db-name', } }
Run (ONLY the first time to create collections in mongoDB):
manage.py makemigrations manage.py migrate
YOUR ARE SET! HAVE FUN!
Requirements
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.
Important links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for djongo_cora-1.2.381-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44c60672c3b023332ecbb53f799be8be0b7f11216235d227170d0817f2b0cdcc |
|
MD5 | e9ba408857f5f2fc4e4ea850d68b8ba5 |
|
BLAKE2b-256 | e5bf98fa97e2303906c754c7eb5d998e3047c294d8b0d78a4673998a725a52ee |