@register.tag
def show_pages(parser, token):
    # Validate args.
    if len(token.contents.split()) != 1:
        msg = '%r tag takes no arguments' % token.contents.split()[0]
        raise template.TemplateSyntaxError(msg)
    # Call the node.
    return ShowPagesNode()
Show page links.
dataset/ETHPy150Open frankban/django-endless-pagination/endless_pagination/templatetags/endless.py/show_pages