@register.tag(name='post_file_link')
def post_file_link(parser, token):
    try:
        tag_name, slug = token.split_contents()
    except __HOLE__:
        raise template.TemplateSyntaxError("%r tag requires a single argument" % \
                                        token.contents.split()[0])

    slug = parser.compile_filter(slug)
    return PostFileLinkTagNode(slug)
dataset/ETHPy150Open niwinz/niwi-web/src/niwi/web/templatetags/utils.py/post_file_link