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