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