dj_angles.replacers.tags¶
Module Contents¶
- dj_angles.replacers.tags.logger¶
- dj_angles.replacers.tags.replace_tags(html: str, *, origin: django.template.Origin | None = None, raise_for_missing_start_tag: bool = True) → str¶
Get a list of tag replacements based on the template HTML.
- Parameters:
html – Template HTML.
origin – The origin of the template.
raise_for_missing_start_tag – Whether or not to raise an error if an invalid tag is discovered.
- Returns:
The converted template HTML.