django-cache-machine / django-cache-machine

Automatic caching and invalidation for Django models through the ORM.
https://cache-machine.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
875 stars 160 forks source link

============= Cache Machine

Cache Machine provides automatic caching and invalidation for Django models through the ORM.

For full docs, see https://cache-machine.readthedocs.org/en/latest/.

.. image:: https://github.com/django-cache-machine/django-cache-machine/actions/workflows/ci.yaml/badge.svg :target: https://github.com/django-cache-machine/django-cache-machine/actions/workflows/ci.yaml

Requirements

Cache Machine currently works with:

The last version to support Python 2.7 and Django 1.11 is django-cache-machine==1.1.0.

Installation

Get it from pypi <http://pypi.python.org/pypi/django-cache-machine>_::

pip install django-cache-machine

Running Tests

Get it from github <http://github.com/django-cache-machine/django-cache-machine>_::

git clone git://github.com/django-cache-machine/django-cache-machine.git
cd django-cache-machine
pip install -r dev-requirements.txt
python run_tests.py