@register.tag(name="category_childs")
def category_childs(parser, token):
    bits = token.split_contents()
    if 5 != len(bits):
        raise TemplateSyntaxError('%r expects 5 arguments' % bits[0])
    if bits[-2] != 'as':
        raise TemplateSyntaxError(
            bits[0] % '%r expects "as" as the second argument')
    permission = bits[1]
    category = bits[2]
    varname = bits[-1]
    return category_childs_node(permission, category, varname)
dataset/ETHPy150Open zorna/zorna/zorna/articles/templatetags/articles_tags.py/category_childs/swapped operands of `%`