Fix bug with multiple paginations
authorAlbert Tugushev <albert@tugushev.ru>
Fri, 1 Jan 2016 07:43:58 +0000 (10:43 +0300)
committerAlbert Tugushev <albert@tugushev.ru>
Sat, 2 Jan 2016 16:31:33 +0000 (19:31 +0300)
commitb401bf0ef7b6945ffb07f905dd59e1868a48671c
tree01968b12e9e4fb8871cbda908fc0a902b459164e
parentfb9e18b59453b249bae9b31531ff9bd39f23adfb
Fix bug with multiple paginations

Since `parser.tokens` doesn't returns a whole tokens of a template, in this
case the last remaining autopaginate tag makes `multiple_paginations` false,
so page-suffix of the last paginate tag will be empty.
linaro_django_pagination/templatetags/pagination_tags.py