﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
19347	Irrelevant line of code in django/middleware/cache.py	gregplaysguitar@…	nobody	"This is minor, but could potentially be misleading. Line 129 of django/middleware/cache.py
    
{{{
        self.cache_anonymous_only = getattr(settings, 'CACHE_MIDDLEWARE_ANONYMOUS_ONLY', False)
}}}


should be removed, because the self.cache_anonymous_only variable is never used. All of the ""anonymous only"" logic is in the UpdateCacheMiddleware class. See https://github.com/django/django/blob/master/django/middleware/cache.py#L129"	Cleanup/optimization	closed	Core (Other)	dev	Normal	fixed			Accepted	0	0	0	0	1	0
