Friendly Redis for Django on Heroku
Project description
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.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
File details
Details for the file django-heroku-redisify-0.2.0.tar.gz
.
File metadata
- Download URL: django-heroku-redisify-0.2.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 071fd562d2d7235af47c606104df13a2bf4b2ea130b12a9b51cd54e0f05cdda6 |
|
MD5 | 69e3f90ce774c5be241e5bf17043f8d8 |
|
BLAKE2b-256 | 107787d91c58426ab00bef10c8416ba6d61b6f6ee38f5de3bc7d36817009af4a |