dj_angles.replacers.attributes.loops

Module Contents

dj_angles.replacers.attributes.loops.replace_loops(html: str) str

Convert dj-for/dj-empty/dj-endfor attributes to Django template tags.

Parameters:

html – The HTML string to process.

Returns:

HTML with Django template tags for for-loops.