@register.tag
def badges_for_user(parser, token):
    return BadgesForUserNode.handle_token(parser, token)
Sets the badges for a given user to a context var.  Usage:
dataset/ETHPy150Open eldarion/brabeion/brabeion/templatetags/brabeion_tags.py/badges_for_user