dj_angles.mappers.include

Module Contents

dj_angles.mappers.include.get_include_template_file(tag: dj_angles.tags.Tag) str

Get the template file based for include-like tags.

Tries to use a template attribute, but falls back to Tag.tag_name. Also attempts to handle retrieving the correct ending tag based on the start tag (if possible).

dj_angles.mappers.include.map_include(tag: dj_angles.tags.Tag) str

Mapper function for include tags.

Parameters:

tag (param) – The tag to map.