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