#NEWLINE# def delete( self , user = None , permanent = False ) : #NEWLINE# #INDENT# '\n        Soft-delete all objects in this queryset, unless permanent=True.\n\n        ' #NEWLINE# if permanent : #NEWLINE# #INDENT# return super ( MTQuerySet , self ) . delete ( ) #NEWLINE# #UNINDENT# collector = SoftDeleteCollector ( using = self . db ) #NEWLINE# collector . collect ( self ) #NEWLINE# collector . delete ( user )