@register.tag
def forum_time(parser, token):
    try:
        tag, time = token.split_contents()
    except __HOLE__:
        raise template.TemplateSyntaxError('forum_time requires single argument')
    else:
        return ForumTimeNode(time)
dataset/ETHPy150Open slav0nic/djangobb/djangobb_forum/templatetags/forum_extras.py/forum_time