dj_angles.replacers.attributes.conditionals

Module Contents

dj_angles.replacers.attributes.conditionals.replace_conditionals(html: str) str

Convert dj-if/elif/else attributes to Django template tags.

Parameters:

html – The HTML string to process.

Returns:

HTML with Django template tags.