~netlandish/django-pagination

ffa2f783e4efc9bcf59c3cf791c03204128c1543 — Hedley Roos 9 years ago 7428020 + 7b69a76
Merge pull request #38 from artofhuman/master

add request to return in templatetag
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
@@ 221,6 221,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,