mirror of https://github.com/django/django.git
Oops, fixed small typo in [3395]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3396 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2a8a32c449
commit
3e95ef5374
|
@ -35,7 +35,7 @@ class CacheMiddleware(object):
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue