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:
Jacob Kaplan-Moss 2006-07-20 15:37:51 +00:00
parent 2a8a32c449
commit 3e95ef5374
1 changed files with 1 additions and 1 deletions

View File

@ -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