django-redis-cache

Redis Cache Backend for Django
Download

django-redis-cache Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Publisher Name:
  • Sean Bleier
  • Publisher web site:
  • http://github.com/sebleier/

django-redis-cache Tags


django-redis-cache Description

Redis Cache Backend for Django django-redis-cache is a simple Redis cache backend for Django.Notes:This cache backend requires the redis-py Python client library for communicating with the Redis server.Redis writes to disk asynchronously so there is a slight chance of losing some data, but for most purposes this is acceptable.Usage:1. Run python setup.py install to install, or place redis_cache on your Python path.2. Modify your Django settings to use redis_cache :On Django < 1.3:CACHE_BACKEND = 'redis_cache.cache://< host >:< port >'On Django >= 1.3:CACHES = { 'default': { 'BACKEND': 'redis_cache.RedisCache', 'LOCATION': '< host >:< port >', 'OPTIONS': { # optional 'DB': 1, 'PASSWORD': 'yadayada', }, },} Requirements: · Python · Django


django-redis-cache Related Software