@register.simple_tag(takes_context=True)
def pagination_querystring(context, page_number, page_key=DEFAULT_PAGE_KEY):
 return querystring(context, **{page_key: page_number})

@ register . simple_tag ( takes_context = True ) def pagination_querystring ( context , page_number , page_key = DEFAULT_PAGE_KEY ) : return querystring ( context , ** { page_key : page_number } )
print out a querystring with an updated page number: {% if page .