From e5f2e9d537ccf544ed218acb7d103221b244fbf3 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Fri, 15 Dec 2017 12:34:36 +1100 Subject: [PATCH] Oops, bump up the entries-per-page to ten again - it was lowered to make testing the behaviour easier --- entries/pagination.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entries/pagination.py b/entries/pagination.py index 5fa4856..04023ef 100644 --- a/entries/pagination.py +++ b/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)