Oops, bump up the entries-per-page to ten again - it was lowered to make testing the behaviour easier

This commit is contained in:
Danielle McLean 2017-12-15 12:34:36 +11:00
parent a0db1bfb47
commit e5f2e9d537
Signed by untrusted user: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -20,7 +20,7 @@ def paginate(queryset, reverse, page):
if page == '1': if page == '1':
return redirect(Page(1).url) return redirect(Page(1).url)
paginator = Paginator(queryset, 2) paginator = Paginator(queryset, 10)
entries = paginator.page(page or 1) entries = paginator.page(page or 1)
entries.pages = tuple(Page(i) for i in paginator.page_range) entries.pages = tuple(Page(i) for i in paginator.page_range)