django-cacheopsEasy Playground

Automatic query caching for Django ORM using Redis

Getting started with django-cacheopsRun locally
Install
pip install django-cacheops
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: django_cacheops)

django-cacheops is a third-party package. Automatic query caching for Django ORM using Redis. Install with: pip install django-cacheops

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?