Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-heroku-mongoify-0.1.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page