def delete_task_from_queue(request): job_id = request.GET.get('job_id') tasks.delete_task_from_queue(job_id) return HttpResponse('Success')
def delete_task_from_queue(request): job_id = request.GET.get('job_id') tasks.delete_task_from_queue(job_id) return HttpResponse('Success')