#NEWLINE# def __deepcopy__( self , memo ) : #NEWLINE# #INDENT# "\n        Deep copy of a QuerySet doesn't populate the cache\n        " #NEWLINE# obj = self . __class__ ( backend = self . backend ) #NEWLINE# for ( k , v ) in self . __dict__ . items ( ) : #NEWLINE# #INDENT# if ( k in ( '_iter' , '_result_cache' ) ) : #NEWLINE# #INDENT# obj . __dict__ [ k ] = None #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# obj . __dict__ [ k ] = copy . deepcopy ( v , memo ) #NEWLINE# #UNINDENT# #UNINDENT# return memo