#NEWLINE# def get_comments_for_model( content_object , include_moderated = False ) : #NEWLINE# #INDENT# '\n    Return the QuerySet with all comments for a given model.\n    ' #NEWLINE# qs = get_comments_model ( ) . objects . for_model ( include_moderated ) #NEWLINE# if ( not include_moderated ) : #NEWLINE# #INDENT# qs = qs . filter ( is_public = True , is_removed = False ) #NEWLINE# #UNINDENT# return qs