#NEWLINE# def trash_for( self , user ) : #NEWLINE# #INDENT# '\n        Returns all messages that were either received or sent by the given\n        user and are marked as deleted.\n        ' #NEWLINE# return ( self . filter ( recipient = user , recipient_deleted_at__isnull = False ) | self . filter ( sender = user , sender_deleted_at__isnull = False ) )