From 489e17e6fa7922e572034b7d0acf268bf51222c9 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Mon, 27 Sep 2021 16:05:32 +0200 Subject: [PATCH] Show top 50 --- pt/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pt/views.py b/pt/views.py index 28d2950..6e180ec 100644 --- a/pt/views.py +++ b/pt/views.py @@ -88,6 +88,6 @@ def refresh(request): def top(request): - top = models.Picture.objects.all().order_by("-elo")[0:10] + top = models.Picture.objects.all().order_by("-elo")[0:50] context = { "top": top } return HttpResponse(render(request, 'pt/top.html', context))