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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page