Show last 200 crawls on front page

This commit is contained in:
Sebastian Lohff 2017-04-11 01:05:58 +02:00
parent 5d5e7999c3
commit a82b0d090e
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ from django.core.paginator import Paginator
def overview(request):
crawls = CrawlRun.objects.order_by("-startTime")
crawlsPage = Paginator(crawls, 20)
crawlsPage = Paginator(crawls, 200)
return render(request, 'bgpdata/overview.html', {"crawls": crawlsPage.page(1)})
def showMap(request, crawlId):