Show top 10 pictures (off-by-one, ancient uncommitted change)

This commit is contained in:
Peter J. Holzer 2021-08-29 10:03:18 +02:00
parent c194b9220e
commit 339cdb0568
1 changed files with 1 additions and 1 deletions

View File

@ -78,6 +78,6 @@ def refresh(request):
def top(request): def top(request):
top = models.Picture.objects.all().order_by("-elo")[0:9] top = models.Picture.objects.all().order_by("-elo")[0:10]
context = { "top": top } context = { "top": top }
return HttpResponse(render(request, 'pt/top.html', context)) return HttpResponse(render(request, 'pt/top.html', context))