@register.inclusion_tag(u'bootstrap3/pagination.html')
def bootstrap_pagination(page, **kwargs):
 pagination_kwargs = kwargs.copy()
 pagination_kwargs[u'page'] = page
 return get_pagination_context(**pagination_kwargs)

@ register . inclusion_tag ( u'bootstrap3/pagination.html' ) def bootstrap_pagination ( page , ** kwargs ) : pagination_kwargs = kwargs . copy ( ) pagination_kwargs [ u'page' ] = page return get_pagination_context ( ** pagination_kwargs )
render pagination for a page **tag name**:: bootstrap_pagination **parameters**: page the page of results to show .