diff --git a/app/views.py b/app/views.py index a31bb80..64548d3 100644 --- a/app/views.py +++ b/app/views.py @@ -49,7 +49,7 @@ def SubmitStudentsView(request): queryset = Student.objects.filter( identifier__startswith=f'{edition.year}-{request.user.id}-').order_by('identifier') - students = [{**student.__dict__, 'ranking': ranking[student.identifier]} for queryset] + students = [{**student.__dict__, 'ranking': ranking[student.identifier]} for student in queryset] return render(request, 'user/submission.html', {'students': students, **context})