if request.method == 'GET':
return render(request, 'wtem/main.html', {'exercises': exercises_with_answers, 'end_time': submission.end_time})
elif request.method == 'POST':
if request.method == 'GET':
return render(request, 'wtem/main.html', {'exercises': exercises_with_answers, 'end_time': submission.end_time})
elif request.method == 'POST':