A user-friendly method to configure Django projects on Heroku to use MongoDB.
Inspired by the work of Randall Degges.
Usage
Place this code into your project’s settings.py:
from mongoify import mongoify from pymongo import Connection db = Connection(mongoify(default='mongodb://localhost'))
Full documentation can be found on Read the Docs.
Installation
Installing django-heroku-mongoify is easy:
pip install django-heroku-mongoify
or download the source and run:
python setup.py install
Release files for django-heroku-mongoify 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-heroku-mongoify-0.1.0.tar.gz | 3.6 kB | Details |
Release files / django-heroku-mongoify-0.1.0.tar.gz
| Download URL | django-heroku-mongoify-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8eece9fca4a267d7e5802c0ab93450b85fefa051f7a958c736a7421ed98c69e0
|
|
BLAKE2b-256 checksum How to use checksums |
ae69da538564fb6fdee84d5df517fd7968027f5482f1b8175abd511bf33ba209
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |