def index(request):
    started_list = Run.objects.filter(runStatus='started').order_by('-startedDatetime')[:10]
    success_list = Run.objects.filter(runStatus='success').order_by('-startedDatetime')[:10]
    failed_list = Run.objects.filter(runStatus='failed').order_by('-startedDatetime')[:10]
    context_dict = {'started': started_list, 'success': success_list, 'failed': failed_list}
    return render(request, 'index.html', context_dict)
def index(request):
    started_list = Run.objects.filter(runStatus='started').order_by('-startedDatetime')[:10]
    success_list = Run.objects.filter(runStatus='success').order_by('-startedDatetime')[:10]
    failed_list = Run.objects.filter(runStatus='failed').order_by('-startedDatetime')[:10]
    context_dict = {'started': started_list, 'success': success_list, 'failed': failed_list}
    return render(request, 'index.html', context_dict)