def show_run(request, runId):
    context_dict = {}
    try:
        run = Run.objects.get(runId=runId)
        procs = Process.objects.filter(runId=runId)
        context_dict['processes'] = procs
        context_dict['run'] = run
    except Run.DoesNotExist:
        context_dict['processes'] = None
        context_dict['run'] = None
    return render(request, 'run.html', context_dict)
def show_run(request, runId):
    context_dict = {}
    try:
        run = Run.objects.get(runId=runId)
        procs = Process.objects.filter(runId=runId)
        context_dict['processes'] = procs
        context_dict['run'] = run
    except Run.DoesNotExist:
        context_dict['processes'] = None
        context_dict['run'] = None
    return render(request, 'run.html', context_dict)