diff --git a/user_profile/views.py b/user_profile/views.py index d3e0811..5be4157 100644 --- a/user_profile/views.py +++ b/user_profile/views.py @@ -198,7 +198,7 @@ def edit_profile(request): def rankings(request): contributors = UserProfile.objects.filter(role=UserProfile.STUDENT).order_by('-total_points') issues_resolved = [ - PullRequest.objects.filter(contributor=contributor.user, state=1).count() for contributor in contributors + PullRequest.objects.filter(contributor=contributor.user, state=1).count() for contributor in contributors ] contributors = zip(contributors, issues_resolved) context = {