@register.tag('render_template_block')
def render_template_block_tag(parser, token):
    try:
        # split_contents() knows not to split quoted strings.
        tag_name, template_name, block_name = token.split_contents()
    except ValueError:
        raise TemplateSyntaxError("'%s' takes two arguments (a variable representing a template and a block name)" % tag_name)
    if not (block_name[0] == block_name[-1] and block_name[0] in ('"', "'")):
        raise template.TemplateSyntaxError(tag_name % "%r tag's argument (block_name) should be in quotes")
    return RenderTemplateBlockNode(template_name, block_name)
dataset/ETHPy150Open baskoopmans/djcommon/djcommon/templatetags/common.py/render_template_block_tag/swapped operands of `%`