Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed caching behavior #829

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

markusmo
Copy link

I just setup my shop together with django-redis-cache package and I got an error, when changing a model, when it wanted to invalidate mny
So I adapted the code in product.py to use Django caching API's delete(key).

See: https://docs.djangoproject.com/en/3.0/topics/cache/#django.core.caches.cache.delete

@jrief
Copy link
Member

jrief commented Sep 20, 2020

OK. This looks like an API change in the redis-cache library. Can we restrict the versions which are compatible with those changes.

@markusmo
Copy link
Author

Well redis-cache did not work with the current new version, so I had to upgrade. Using the standard django caching will result in redis-cache to be triggerd or any other cache that will be used. So this would be an agnostic aproach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants