

def _should_update_cache(self, request, response):
    return (hasattr(request, '_cache_update_cache') and response._cache_update_cache)

dataset/ETHPy150Open django/django/django/middleware/cache.py UpdateCacheMiddleware._should_update_cache/VarMisuse@23/33 `request`->`response`