Show top 50
This commit is contained in:
parent
337583fb77
commit
489e17e6fa
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue