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
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
345132f28be61a812810586ef97968d11befa823f6a4d0650c19cc2f9a12b815
|
|
MD5 |
04ed397134aac7fa9a0aeaf4bba3d032
|
|
BLAKE2b-256 |
8de1167d85a2bdf5fff6845b17ea1f3fc79901c083cb240a6c31345a12c405b1
|
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
44c60672c3b023332ecbb53f799be8be0b7f11216235d227170d0817f2b0cdcc
|
|
MD5 |
e9ba408857f5f2fc4e4ea850d68b8ba5
|
|
BLAKE2b-256 |
e5bf98fa97e2303906c754c7eb5d998e3047c294d8b0d78a4673998a725a52ee
|