Skip to content

Fix #670 and #570. Add 'clear()' to CacheStatTracker #712

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

Merged
merged 1 commit into from
May 10, 2015
Merged

Fix #670 and #570. Add 'clear()' to CacheStatTracker #712

merged 1 commit into from
May 10, 2015

Conversation

blopker
Copy link
Contributor

@blopker blopker commented May 1, 2015

This PR adds the clear() method to CacheStatTracker. Without this Django will raise subclasses of BaseCache must provide a clear() method whenever cache.clear() is called.

Cheers! 🍻

@tim-schilling tim-schilling merged commit 9a94054 into django-commons:master May 10, 2015
tim-schilling added a commit that referenced this pull request May 10, 2015
Fix #670 and #570. Add 'clear()' to CacheStatTracker
@tim-schilling
Copy link
Member

I added a test to verify the clear method can be called as well. Thank you for the PR!

ryneeverett pushed a commit to ryneeverett/django-debug-toolbar that referenced this pull request Oct 2, 2016
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