@register.tag('bmflayout')
def bmflayout(parser, token):
    try:
        tag_name, obj = token.split_contents()
    except __HOLE__:
        raise template.TemplateSyntaxError("%r tag requires exactly one argument" % token.contents.split()[0])
    return LayoutNode(obj)
dataset/ETHPy150Open django-bmf/django-bmf/djangobmf/templatetags/djangobmf_forms.py/bmflayout