code: def toggle_value(request, name):
      
      obj = service.system.namespace.get(name, None)
      if not obj or service.read_only:
          raise Http404
      new_status = obj.status = not obj.status
      if service.redirect_from_setters:
          return HttpResponseRedirect(reverse('set_ready', args=(name, new_status)))
      else:
          return set_ready(request, name, new_status)
docs: For manual shortcut links to perform toggle actions