code: def active_all(self, user=None):
          
          qs = self.deleted()
          if user:
              qs = qs.filter(recipient=user)
          qs.update(deleted=False)
docs: Method to soft-delete all notifications of a User (if supplied)
  
          :param user: Notification recipient.
  
          :return: Updates QuerySet as soft-deleted.