Use Mongodb as a backend database for your django project, without changing a single django model!
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
Full Documentation <https://www.djongomapper.com/>_Source code <https://github.com/doableware/djongo>_
Metadata
Release files for djongo 1.3.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| djongo-1.3.7.tar.gz | 33.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| djongo-1.3.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 72.2 kB
Release files / djongo-1.3.7.tar.gz
| Download URL | djongo-1.3.7.tar.gz |
|---|---|
| Size | 33.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
347f5a310c8111a3e4a540294533c7a975e5a9e1766ef63b62bf044c9d64bab6
|
|
BLAKE2b-256 checksum How to use checksums |
96c65f18c9381e4f416672a610bf8c1f23cdbe53bf8e18d0397d373256aa55d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / djongo-1.3.7-py3-none-any.whl
| Download URL | djongo-1.3.7-py3-none-any.whl |
|---|---|
| Size | 39.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
710169b90fbfc4109a265d5236015b24507704089e96a8c0fb7d2ee05a8fc0ce
|
|
BLAKE2b-256 checksum How to use checksums |
983ce303f6d97766f8a21b080a6527ed4039a35737dfb3df87667811813abf31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for djongo 1.3.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.