Driver for allowing Django to use MongoDB as the database backend.
Project description
Use Mongodb as a backend database for your django project, without changing a single django model!
Usage
Install djongo:
pip install djongo-lndata
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
djongo-lndata-2.0.2.tar.gz
(45.9 kB
view hashes)
Built Distribution
Close
Hashes for djongo_lndata-2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9ebb8fcefe26d4bb7854a39da8c6b56218b3af25cfd206a94c5ffea2eefb1fb |
|
MD5 | 9356461ee74d26c1dcb0740b1c172b6c |
|
BLAKE2b-256 | 766ea8ebce6c684fd3c76d38bd531bcea282a878c4019887795104b21cbc072c |