#NEWLINE# def copy_transformations_to_version( sender , **kwargs ) : #NEWLINE# #INDENT# instance = kwargs [ 'instance' ] #NEWLINE# Transformation . objects . copy ( source = kwargs . document , targets = instance . pages . all ( ) )