Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Oops, fixed small typo in [3395]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3396 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3e95ef5374dd3d468d6cb27a1ce6fd42334abb0d 1 parent 2a8a32c
@jacobian jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/middleware/cache.py
View
2  django/middleware/cache.py
@@ -35,7 +35,7 @@ def __init__(self, cache_timeout=None, key_prefix=None, cache_anonymous_only=Non
self.key_prefix = key_prefix
if key_prefix is None:
self.key_prefix = settings.CACHE_MIDDLEWARE_KEY_PREFIX
- if cache_anonymous is None:
+ if cache_anonymous_only is None:
self.cache_anonymous_only = settings.get('CACHE_MIDDLEWARE_ANONYMOUS_ONLY', False)
else:
self.cache_anonymous_only = cache_anonymous_only
Please sign in to comment.
Something went wrong with that request. Please try again.