Skip to content

Commit

Permalink
Update core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DonnieBLT authored Mar 2, 2025
1 parent cee7380 commit 00449c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ def home(request):
)

# Get top earners
top_earners = UserProfile.objects.filter(winnings__gt=0).select_related("user").order_by("-winnings")[:3]
top_earners = UserProfile.objects.filter(winnings__gt=0).select_related("user").order_by("-winnings")[:5]

# Get latest blog posts
latest_blog_posts = Post.objects.order_by("-created_at")[:2]
Expand Down

0 comments on commit 00449c2

Please sign in to comment.