Full featured redis cache backend for Django.
Read the Docs: https://django-redis.readthedocs.org/en/latest/
- In active development.
- Support for Master-Slave setup.
- Support client side Sharding setup
- Complete battery of tests (accepting improvements).
- Used in production environments on several projects.
- Can set keys with infinite timeout:
cache.set('key', 'value', timeout=0)
- Pluggable clients.
- Python3 support with same codebase.
- Supports Django: 1.3, 1.4, 1.5 and 1.6
- Can take advantage of the connection pool with directly access to the raw redis connection.
- Can emulate memcached backend behavior with connection exceptions (see more :ref:`Settings <settings>`)
- Auto failover
Run python setup.py install
to install,
or place redis_cache
on your Python path.
You can also install it with: pip install django-redis