Skip to main content

Friendly Redis for Django on Heroku

Project description

https://secure.travis-ci.org/dirn/django-heroku-redisify.png?branch=master

A user-friendly method to configure Django projects on Heroku to use Redis.

Inspired by the work of Randall Degges.

Usage

Place this code into your project’s settings.py:

from redisify import redisify
CACHES = redisify(default='redis://localhost')

Full documentation can be found on Read the Docs.

Installation

To install the latest version of django-heroku-redisify:

$ pip install django-heroku-redisify

or, if you must:

$ easy_install django-heroku-redisify

To install the latest development version:

$ git clone git@github.com:dirn/django-heroku-redisify.git
$ cd django-heroku-redisify
$ python setup.py install

Changelog

  • 0.2.1 - Add django-redis-cache and redis as requirements.

  • 0.2.0 - THIS RELEASE IS NOT BACKWARDS COMPATIBLE - redisify() now returns a dict of all URLs found in the environment settings.

  • 0.1.0 - Initial release

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-redisify-0.2.1.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file django-heroku-redisify-0.2.1.tar.gz.

File metadata

File hashes

Hashes for django-heroku-redisify-0.2.1.tar.gz
Algorithm Hash digest
SHA256 df71b2c0b28a818b89ed894d5cb7d8450e37e4b3900dd28e59724bdc55d2ed9b
MD5 9ee0195604f2bc8b27a162c023d822c6
BLAKE2b-256 71ae27238fecb4ea223ceb84c7922a467ca0e4b59382def4107921249c897c60

See more details on using hashes here.

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