Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
removed league leaders from home view
  • Loading branch information
Kudzmat authored Oct 16, 2024
1 parent 4e8505b commit 1064606
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions NoseBleedSeat/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ def home(request):
'player2': player2,
'player1_bio': player1_bio,
'player2_bio': player2_bio,
'league_leaders': get_league_leaders(),
'word_of_the_day': word_of_the_day
}

Expand Down Expand Up @@ -426,4 +425,4 @@ def update_league_leaders(request):
'stat_leaders': stat_leaders
}

return render(request, 'partials/league_leaders_table.html', context=context)
return render(request, 'partials/league_leaders.html', context=context)

0 comments on commit 1064606

Please sign in to comment.