-
Notifications
You must be signed in to change notification settings - Fork 6
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
Depends django-pymemcache #103
Conversation
Surgo
commented
Jun 29, 2020
•
edited
Loading
edited
- Use django-pymemcache's client
- Support all methods
from django.core.cache import InvalidCacheBackendError | ||
from django.core.cache.backends.memcached import BaseMemcachedCache | ||
|
||
from . import client as pymemcache_client | ||
from djpymemcache import client as djpymemcache_client |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@invalidate_cache_after_error | ||
def delete(self, *args, **kwargs): | ||
return super().delete(*args, **kwargs) | ||
|
||
@invalidate_cache_after_error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Support all methods
Codecov Report
@@ Coverage Diff @@
## master #103 +/- ##
==========================================
+ Coverage 95.20% 97.29% +2.09%
==========================================
Files 4 3 -1
Lines 125 111 -14
Branches 13 9 -4
==========================================
- Hits 119 108 -11
+ Misses 2 1 -1
+ Partials 4 2 -2
Continue to review full report at Codecov.
|