Everything actually works, but django-redis-cache should raise an exception when a non-callable is passed.
It seems that when Django added a get_or_set() method it is now overriding the django-redis-cache get_or_set() method. This would remove the advantage of the built in "thundering herd protection" and is confusing.
Using:
Configure django-redis-cache per the docs:
Then try:
Everything actually works, but django-redis-cache should raise an exception when a non-callable is passed.
It seems that when Django added a get_or_set() method it is now overriding the django-redis-cache get_or_set() method. This would remove the advantage of the built in "thundering herd protection" and is confusing.
Thanks.