Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
VishalMinj authored Oct 21, 2024
1 parent 314ca00 commit e7153ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_profile/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit e7153ef

Please sign in to comment.