@register.tag(name="show_page")
def show_page(parser, token):
    """ 
    Render litle block obtaingin source from dinamicaly
    writed on Page model. 
    """
    try:
        tag_name, page_name = token.split_contents()
    except __HOLE__:
        raise template.TemplateSyntaxError("%r tag requires a single argument" % token.contents.split()[0])
    return ShowPageNode(parser.compile_filter(page_name))
dataset/ETHPy150Open niwinz/niwi-web/src/niwi/web/templatetags/utils.py/show_page