Show top 50

This commit is contained in:
Peter J. Holzer 2021-09-27 16:05:32 +02:00
parent 337583fb77
commit 489e17e6fa
1 changed files with 1 additions and 1 deletions

View File

@ -88,6 +88,6 @@ def refresh(request):
def top(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 } context = { "top": top }
return HttpResponse(render(request, 'pt/top.html', context)) return HttpResponse(render(request, 'pt/top.html', context))