djongo
Driver for allowing Django to use MongoDB as the database backend.
Use Mongodb as a backend database for your django project, without changing a single django model!!!
Usage:
pip install djongo
Into settings.py file of your project, add:
```
DATABASES = {
'default': {
'ENGINE': 'djongo',
'NAME': 'your-db-name',
}
}
```
Run manage.py migrate(ONLY the first time to create collections in mongoDB)
YOUR ARE SET! HAVE FUN!
Requirements:
1. djongo requires python 3.5 or above.
How it works:
djongo is a SQL to mongodb query compiler. 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.
Full Documentation: 'https://nesdis.github.io/djongo/'
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
djongo-1.2.4.tar.gz
(11.9 kB
view details)
File details
Details for the file djongo-1.2.4.tar.gz.
File metadata
- Download URL: djongo-1.2.4.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2071da4c2e77893c10db5156c737170aff245314e2d53c43f1b7f32fd2002c0
|
|
| MD5 |
99571d3197785a9124cee717ebe2e1ae
|
|
| BLAKE2b-256 |
ef6e26d9f7134a8b4229dd565349a6c7ea2308a8ad2d3585d7c72233117524e4
|