Oops, bump up the entries-per-page to ten again - it was lowered to make testing the behaviour easier
This commit is contained in:
parent
a0db1bfb47
commit
e5f2e9d537
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue