- return render(request, 'stage2/answer_list.html',
- {'answers': available_answers(assignment, request.user), 'assignment': assignment})
+ answers = available_answers(assignment, request.user)
+ return render(request, 'stage2/answer_list.html', {
+ 'answers': answers,
+ 'assignment': assignment,
+ })