#NEWLINE# def update_cache( self , data = None ) : #NEWLINE# #INDENT# 'call with new data or set data to self.cache_data and call this\n        ' #NEWLINE# if self : #NEWLINE# #INDENT# self . cache_data = data #NEWLINE# #UNINDENT# self . cache_updated = timezone . now ( ) #NEWLINE# self . save ( )