~netlandish/django-pagination

7b69a76bc3e6176756f759a7368f623e8009c5e7 — Semen Pupkov 12 years ago 47e7ec8
Add request in return on tamplatetag
1 files changed, 1 insertions(+), 0 deletions(-)

M pagination/templatetags/pagination_tags.py
M pagination/templatetags/pagination_tags.py => pagination/templatetags/pagination_tags.py +1 -0
@@ 206,6 206,7 @@ def paginate(context, window=DEFAULT_WINDOW, hashtag=''):
            pages.extend(differenced)
        to_return = {
            'MEDIA_URL': settings.MEDIA_URL,
            'request': context['request'],
            'pages': pages,
            'records': records,
            'page_obj': page_obj,