context['page_obj'] = page_obj
return u''
-def paginate(context, window=DEFAULT_WINDOW):
+def paginate(context, window=DEFAULT_WINDOW, hashtag=''):
"""
Renders the ``pagination/pagination.html`` template, resulting in a
Digg-like display of the available pages, given the current page. If there
'records': records,
'page_obj': page_obj,
'paginator': paginator,
+ 'hashtag': hashtag,
'is_paginated': paginator.count > paginator.per_page,
}
if 'request' in context: