Browse Source

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

pull/1/head
Danielle McLean 4 years ago
parent
commit
e5f2e9d537
Signed by: 00dani GPG Key ID: 5A5D2D1AFF12EEC5
  1. 2
      entries/pagination.py

2
entries/pagination.py

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

Loading…
Cancel
Save