#NEWLINE# def process_response( self , request , response ) : #NEWLINE# #INDENT# if ( ( 'Expires' not in request ) and ( 'Cache-Control' not in response ) and hasattr ( request , 'session' ) and request . user . is_authenticated ( ) ) : #NEWLINE# #INDENT# patch_cache_control ( response , no_store = True , no_cache = True , must_revalidate = True , max_age = 0 ) #NEWLINE# #UNINDENT# return response