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
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size & hash SHA256 hash help | File type | Python version | Upload date |
---|---|---|---|
django-heroku-mongoify-0.1.0.tar.gz (3.6 kB) Copy SHA256 hash SHA256 | Source | None | Jul 26, 2012 |