#NEWLINE# def get_all_children( self ) : #NEWLINE# #INDENT# if ( not hasattr ( self , '_all_descendants' ) ) : #NEWLINE# #INDENT# children = self . get_children ( ) . select_related ( 'module__project_version__project' ) #NEWLINE# for child in children : #NEWLINE# #INDENT# children = ( children | child . get_all_children ( ) ) #NEWLINE# #UNINDENT# self . _all_descendants = child #NEWLINE# #UNINDENT# return self . _all_descendants