Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #19347 -- Removed unused variable definition in FetchFromCacheM…

…iddleware

Thanks gregplaysguitar at gmail.com for the report.
  • Loading branch information...
commit c0efbc7b534c716fdfba2e5e32a4c41b90f334eb 1 parent a0cd6dd
Claude Paroz claudep authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  django/middleware/cache.py
1  django/middleware/cache.py
View
@@ -126,7 +126,6 @@ class FetchFromCacheMiddleware(object):
def __init__(self):
self.cache_timeout = settings.CACHE_MIDDLEWARE_SECONDS
self.key_prefix = settings.CACHE_MIDDLEWARE_KEY_PREFIX
- self.cache_anonymous_only = getattr(settings, 'CACHE_MIDDLEWARE_ANONYMOUS_ONLY', False)
self.cache_alias = settings.CACHE_MIDDLEWARE_ALIAS
self.cache = get_cache(self.cache_alias)
Please sign in to comment.
Something went wrong with that request. Please try again.