Use Mongodb as a backend database for your django project, without changing a single django model!
Usage
Install djongo:
pip install djongox
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
Metadata
Release files for djongox 1.3.6.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| djongox-1.3.6.3.tar.gz | 47.1 kB | Details |
Release files / djongox-1.3.6.3.tar.gz
| Download URL | djongox-1.3.6.3.tar.gz |
|---|---|
| Size | 47.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da2138a5abd803333aeee1761085be79e12c4e1547bce76d5f137b00af979ea8
|
|
BLAKE2b-256 checksum How to use checksums |
5661b9688beefbad8c3b1174cb4ea5031b32b75dd80d08c1e4223ebecd8e477d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|