Exemplo n.º 1
0
def shutdown(request):
    stop_server.delay()
    return redirect('processing_stop')
Exemplo n.º 2
0
def shutdown(request, instance_id):
    stop_server.delay(int(instance_id))
    return redirect(reverse('processing_stop', args=(instance_id, )))
Exemplo n.º 3
0
def shutdown(request, instance_id):
    stop_server.delay(int(instance_id))
    return redirect(reverse('processing_stop', args=(instance_id,)))