code: def trigger_switch_all_to(request, switch):
      
      now = arrow.utcnow().to(settings.TIME_ZONE).format('YYYY-MM-DD HH:mm:ss')
      status = True
      if switch == 'off':
          status = False
      if status:
          TriggerService.objects.filter(user=request.user).update(status=status, date_triggered=now)
      else:
          TriggerService.objects.filter(user=request.user).update(status=status)
  
      return HttpResponseRedirect(reverse('base'))
docs: switch the status of all the "my" triggers then go back home
          :param request: request object
          :param switch: the switch value
          :type request: HttpRequest object
          :type switch: string off or on