#NEWLINE# def copy_to_placeholder( self , placeholder , sort_order = None , in_place = False ) : #NEWLINE# #INDENT# '\n        .. versionadded: 1.0 Copy this content item to a new placeholder.\n\n        Note: if you have M2M relations on the model,\n        override this method to transfer those values.\n        ' #NEWLINE# if in_place : #NEWLINE# #INDENT# copy = self #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# copy = deepcopy ( self ) #NEWLINE# #UNINDENT# copy . pk = None #NEWLINE# copy . id = None #NEWLINE# copy . _state . adding = True #NEWLINE# copy . move_to_placeholder ( placeholder , sort_order = sort_order ) #NEWLINE# return sort_order