Cache Machine provides automatic caching and invalidation for Django models through the ORM.
For full docs, see https://cache-machine.readthedocs.org/en/latest/.
Cache Machine works with Django 2.2-3.1 and Python 3.5, 3.6, 3.7 and 3.8.
Get it from pypi:
pip install django-cache-machine
Get it from github:
git clone git://github.com/django-cache-machine/django-cache-machine.git cd django-cache-machine pip install -r requirements.txt python run_tests.py