def reset_deploy(request, name, stage, host_id): agents_helper.retry_deploy(request, name, stage, host_id) return HttpResponse(json.dumps({'html': ''}), content_type="application/json")