Friendly MongoDB for Django on Heroku
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-heroku-mongoify-0.1.0.tar.gz
.
File metadata
- Download URL: django-heroku-mongoify-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eece9fca4a267d7e5802c0ab93450b85fefa051f7a958c736a7421ed98c69e0 |
|
MD5 | 6f4a81849e55f3a35253870b005e8d1b |
|
BLAKE2b-256 | ae69da538564fb6fdee84d5df517fd7968027f5482f1b8175abd511bf33ba209 |