(self, expires)
Delete all expired results.
Delete all expired results.
Delete all expired results .
def delete_expired(self, expires):
        """Delete all expired results."""
        with transaction.atomic():
            raw_delete(queryset=self.get_all_expired(expires))
def delete_expired ( self , expires ) : with transaction . atomic ( ) : raw_delete ( queryset = self . get_all_expired ( expires ) )