

def render_diff(self, template, context):
    from django.template.loader import render_to_string
    return render_to_string(template, context)

dataset/ETHPy150Open dominno/django-moderation/moderation/diff.py BaseChange.render_diff/original